GreyScript AI

File to Markdown Converter

Turn PDF, Word, HTML, Excel, PowerPoint and CSV files into clean Markdown for docs, RAG pipelines and AI-readable pages. Conversion runs in your browser, so your files are never uploaded.

1. Choose files
or paste rich text or HTML
Coming soon OCR for scanned PDFs and images · AI cleanup of messy layouts
2. Markdown output (editable)
PDF files store positioned text, not structure, so headings are inferred from font size and paragraphs from line spacing. Check headings and tables in long or multi-column PDFs. Token counts use a rough 4-characters-per-token estimate. Excel dates are converted when the cell is formatted as a date; formulas show their last saved value.

Questions and answers

Are my files uploaded anywhere?

No. The converter runs entirely in your browser using self-hosted open-source libraries (pdf.js, mammoth, turndown and fflate). Your files are read from your device and never sent to a server.

Which file types can it convert?

PDF, DOCX, HTML, XLSX, PPTX, CSV and TSV, plus plain text, Markdown, JSON and XML. Older binary formats such as .doc, .xls and .ppt are not supported; save them in the newer format first.

Why convert documents to Markdown for AI?

Markdown keeps headings, lists, links and tables but drops layout noise, so it uses fewer tokens than HTML and splits cleanly into chunks for retrieval. It is also the format llms.txt files and most AI documentation tools expect.

Can it read scanned PDFs or images?

Not yet. Scanned PDFs and images contain pictures of text, which needs OCR. OCR is coming soon. For now the converter extracts text that is already selectable in the PDF.

How accurate is PDF conversion?

PDFs store positioned text rather than structure, so the converter rebuilds headings from font sizes, joins lines into paragraphs and detects bullet and numbered lists. Simple reports convert well; multi-column layouts and complex tables may need a quick manual tidy.