MarkPrep

TXT to Markdown

Bring plain text into the AI-Ready Pack — count tokens and chunk it.

Drop files, paste, or click to browse
PDF, Word, Excel, PowerPoint, HTML, CSV, JSON, EPUB, images and more. Nothing is uploaded.
Network requests that left this page during conversion: 0We're not asking you to trust a privacy policy. Press F12 → Network and watch.

Plain text passes straight through, but the point is what comes next: a live token count against your model, a heading-aware chunk plan, and JSONL export. Useful when you've got a big .txt and need to know how it'll fit an LLM before you paste.

How to convert txt to markdown

  1. 1Drop your text file onto the box above, or click to browse. Nothing uploads — the file is read in your browser.
  2. 2MarkPrep converts it to Markdown locally and shows a live token count for your chosen model.
  3. 3Check the Preview, adjust the chunk size, and review the Verify tab for anything worth a second look.
  4. 4Copy the Markdown, download the .md/.zip, or export JSONL chunks for your RAG pipeline.

Format notes & gotchas

  • Plain text has no structure, so chunking falls back to size-based splits.
  • Add Markdown headings to get heading-aware chunk boundaries.

Related converters

Frequently asked questions

Is my file uploaded anywhere?+

No. Conversion runs entirely in your browser tab using WebAssembly. There is no upload endpoint — open your browser's Network tab and watch: nothing leaves the page. The only labelled exceptions are fetching a public URL and optional bring-your-own-key OCR.

How much does it cost?+

Conversion and the entire AI-Ready Pack — token counts, chunking, JSONL export — are free and unlimited, because they run on your hardware. Pro ($4/mo) adds workflow features like the local MCP server, watch folders and saved profiles.

Are the token counts accurate?+

Exact for OpenAI models (GPT-4o, o-series) via their published tokenizer. For Claude and Gemini we show a labelled approximation, because those tokenizers aren't public.

Want it inside your workflow?

Conversion is free forever. Pro ($4/mo) adds the local MCP server so Claude Code converts files on your machine, plus watch folders, saved profiles and encrypted sync.

See pricing