Feed AI what it actually needs.

Convert any document to clean markdown and cut token costs by up to 20x. PDF, DOCX, HTML, or raw text — stripped to pure signal.

Convert now
PDF, DOCX, HTML, TXT Real-time token count 100% client-side privacy No sign-up required

Drop your files here!

PDF, DOCX, HTML, TXT, MD
or paste text

Built for AI workflows

Instant Conversion

Text conversions under 200ms. File parsing under 3 seconds. Token counting is always client-side — no round trips.

📈

Token Estimator

See exact before/after token counts for every conversion. Uses cl100k_base-compatible tokenizer logic. Know exactly what you'll save.

📄

PDF & DOCX Support

Upload PDFs and Word documents. Clean text extraction strips formatting metadata, embedded fonts, headers, footers, and layout data.

🔒

100% Private

All text processing happens in your browser. Files are parsed client-side and never uploaded. Your data stays on your device.

🎯

Smart Detection

Auto-detects ChatGPT, Claude, and Perplexity output. Switches between "Clean for AI" and "Save LLM Output" modes intelligently.

🚀

API Access

REST API for programmatic conversion. POST files or text, get back clean markdown with token counts.

How to Use

1 Upload or Paste

Drag and drop a PDF, DOCX, HTML, or text file — or paste content directly. Prompt2Markdown auto-detects the source and file type.

2 Choose Your Mode

"Clean for AI" strips everything to minimal markdown for lowest token usage. "Save LLM Output" preserves structure and adds YAML front matter for PKM tools.

3 See Your Savings

The token meter shows before/after counts, percentage reduction, and estimated cost savings in real-time. The numbers update as you edit.

4 Export

Copy to clipboard, download as .md, or download everything you converted as a ZIP.

Simple pricing. Real savings.

Free tier does everything you need. Pro unlocks power-user workflows and API access.

Free

$0 forever
No credit card required
  • Unlimited conversions
  • Token estimator on every conversion
  • PDF & DOCX upload
  • HTML, TXT, raw paste
  • "Clean for AI" & "Save LLM Output" modes
  • YAML front matter & Obsidian mode
  • Copy for Obsidian, Notion, Ghost
  • Source auto-detection
  • 100% client-side privacy
Start Converting

Pro

$4 /month
or $29/year (save 40%)
Most users save more than $4/month in API costs
  • Everything in Free, plus:
  • Bulk conversion with zip download
  • REST API access with personal key
  • Custom YAML front matter templates
  • Roam Research & Logseq export
  • Priority support