Comparisons

Can ChatGPT Read .md Files? Yes. How to Upload and Edit Them

8 min read
A trainer preparing a handout in Ritemark (illustration; the screen is a real Ritemark screenshot)

Yes. ChatGPT reads .md files. Attach the file to a chat and ask about it, and it reads the headings, lists and tables. We tested it on 29 October 2026, and it got every question about the file right. What ChatGPT can't do from a chat is change the file on your computer. You copy its answer back yourself. If you want ChatGPT to change the file for you, it has to work in your folder, and that is where the tools below differ.

By Jarmo Tuisk, founder of Ritemark. Published 21 August 2026, last updated 29 October 2026. We make Ritemark, one of the tools on this page, so we say who each tool suits and when to pick another one.

How do you upload an .md file to ChatGPT?

Click the + in the message box, choose your .md file, and ask your question. It works on the Free plan and on paid plans. On the Free plan you can upload three files a day (OpenAI's upload help).

Our test: does ChatGPT really read Markdown?

It does. We gave ChatGPT a short Markdown file with two levels of headings, a bullet list, a numbered list and a table. Then we asked it to list the headings, quote the second open question and give one price from the table. It answered all three correctly, gave each heading its level, and said it had received a "Markdown file (.md)".

Here is the file we used, so you can repeat the test yourself:

# Harbour Lane Bakery: winter menu plan

## Opening hours

Monday to Saturday, 7:00 to 15:00.

## New items

- Cardamom bun
- Rye sourdough with seeds
- **Hot chocolate** with oat milk

## Open questions

1. Who bakes on Sundays?
2. Do we print the menu or only post it online?

| Item | Price |
|---|---|
| Cardamom bun | 3.50 |
| Rye sourdough | 6.00 |

The prompt was: "List the headings in the attached file, the second open question, and the price of the rye sourdough. Then say what file type you received."

Tested on 29 October 2026 in ChatGPT on the web, in a temporary chat.

What if ChatGPT won't accept your .md file?

Save a copy with .txt at the end and upload that. The text inside stays the same. This is worth knowing because OpenAI's own list of supported files names DOCX, PDF and TXT, and Markdown isn't on it, even though our upload worked. If the upload ever fails, try .txt, because it is on OpenAI's list.

Can ChatGPT edit an .md file on your computer?

Not from a chat. In a chat, ChatGPT works on text inside the conversation, and you copy the result back into your file. ChatGPT can change the file itself only when it works in your folder. That is what OpenAI's Codex does, and it comes with every ChatGPT plan, the free one with tighter limits (Codex pricing). Here is where it works, plus Notion AI for comparison.

Where ChatGPT can work in your Markdown files

Ritemark

Best for: people who write documents and want ChatGPT to work in the same files they are reading.

In Ritemark, ChatGPT works directly in your files, beside the document you have open. Ask it to tidy a section or turn your notes into a handout, and the change appears in the document. There is nothing to copy back. Ritemark runs OpenAI's Codex for this, and you sign in with your ChatGPT account, any plan, Free included. In the same conversation you can switch to Claude (with a paid Claude plan) or to OpenCode with your own API key.

Ritemark is free and open source, for Mac and Windows. The AI runs on your own ChatGPT or Claude plan. To try it, download Ritemark from the box at the end of this page and open the folder your .md files are in.

The ChatGPT desktop app

Best for: people who want one assistant for chat, research and tasks, and are happy to open their files in another app.

OpenAI's own desktop app gives you Codex too (ChatGPT plans list "Work and Codex on desktop"), and Codex can work in a folder on your computer and change the files there. The conversation is the main thing in the window, though. You open the .md file in another app to read it and polish it. Our ChatGPT Desktop comparison goes into the differences.

Price: Free, Go, Plus and Pro plans. From Estonia, chatgpt.com shows Go at €8, Plus at €23 and Pro from €103 a month, VAT included (checked 29 October 2026).

VS Code

Best for: developers who write Markdown next to their code.

VS Code is a free code editor. OpenAI's Codex extension for VS Code changes files in your project, and you sign in with your ChatGPT account. GitHub Copilot is a separate assistant inside VS Code, sold by GitHub.

Price: VS Code is free. GitHub Copilot has a free tier with 2,000 completions a month, then Pro at $10, Pro+ at $39 and Max at $100 a month (Copilot plans, checked 29 October 2026). Copilot is billed apart from ChatGPT.

Notion AI (not ChatGPT, and not .md files)

Best for: teams whose documents already live in Notion.

Notion AI works on Notion pages. It isn't ChatGPT and needs no ChatGPT account. Your documents live in Notion, not as .md files on your computer, so getting a Markdown file out is an export step. Free and Plus include a trial of Notion AI. Business, €19.50 per seat a month as shown from Estonia, includes Notion Agent (Notion pricing, checked 29 October 2026).

Comparison table

Tool Can ChatGPT change your .md file? Where you read the file Price
ChatGPT chat (web or app) No. You copy the answer back Somewhere else Free, paid plans from €8 a month
Ritemark Yes, in your folder In the same window Free app, AI on your ChatGPT or Claude plan
ChatGPT desktop app, Codex Yes, in a folder you choose In another app Same ChatGPT plans
VS Code with Codex Yes, in your project In VS Code, a code editor Free, Copilot from $10 a month
Notion AI No, it edits Notion pages In Notion Trial on Free and Plus, Business €19.50

Which one should you pick?

If you only need answers about a file, upload it to ChatGPT. That works on the Free plan and needs nothing else.

Pick Ritemark if you want ChatGPT to work in your documents while you read and edit them in the same window.

Pick the ChatGPT desktop app if you mostly want an assistant and don't mind opening your files elsewhere.

Pick VS Code if you already write code there and your Markdown sits next to it.

Pick Notion AI if your team works in Notion and doesn't need .md files at all.

For other AI tools that work on Markdown, including Claude, see the best Markdown editor for AI. To set ChatGPT up in Ritemark, follow the AI agent setup guide. For why Markdown works better with AI than a Word file, read why Markdown suits AI.

How we checked

We ran the upload test ourselves on 29 October 2026 and kept the file and the answer. Prices and plans come from each maker's own page, read the same day. Facts about Ritemark come from its user documentation for version 2.1.0. Drafted with AI, tested and checked by Jarmo.

What changed on 29 October 2026: the answer comes first, the page now shows our upload test and what to do if an upload fails, and prices were checked again. We removed details we couldn't confirm on the makers' pages that day.

Frequently asked questions

Can ChatGPT read Markdown files?

Yes. Upload a .md file and ChatGPT reads its headings, lists and tables. In our test on 29 October 2026 it answered every question about the file correctly.

Does ChatGPT support .md uploads on the Free plan?

Yes. Document and text uploads work on Free and paid plans. Free users can upload three files a day, according to OpenAI's help page.

Why isn't .md on OpenAI's list of supported files?

OpenAI's list names DOCX, PDF and TXT for documents and text. Markdown files uploaded fine in our test anyway. If one is ever refused, save it as .txt and upload again.

Can ChatGPT change the .md file on my computer?

Not from a chat. ChatGPT changes files when it works in your folder through OpenAI's Codex, for example in Ritemark or in VS Code.

Which ChatGPT plan do I need for ChatGPT to edit my files?

Any plan. OpenAI includes Codex in every ChatGPT plan, the Free plan with tighter limits. In Ritemark, you sign in with your ChatGPT account.

Is Notion AI the same as ChatGPT?

No. Notion AI is Notion's own assistant for Notion pages. It needs no ChatGPT account, and it doesn't work on .md files on your computer.

Does GitHub Copilot cost extra on top of ChatGPT?

Yes. Copilot is billed apart from ChatGPT. Copilot Pro costs $10 a month whether or not you also pay for ChatGPT.

Start writing with Ritemark.

Free and open source. Mac and Windows.