Free, no sign-up, runs in your browser

PDF to Markdown for AI (tables included, nothing uploaded)

Turn a text-based PDF into Markdown you can paste into ChatGPT, Claude, Gemini or your own LLM app. Headings, lists and tables are kept, repeated headers and page numbers are removed, and the file never leaves your device.

How it works

Choose or drop a PDF. It is read in your browser, not uploaded.

Pick the options you want: page markers, and removing repeated headers, footers and page numbers.

Check the Markdown, see its token count, then copy it or download a .md file.

Tables as real Markdown tables

Rows and columns are found from the position of the text on the page, so a table comes out as a Markdown table instead of a jumble of words. A table that runs onto the next page is joined into one.

Structure an AI can follow

Larger text becomes headings, bullets and numbered items become lists, and two-column pages are read left column first. Repeated headers, footers and page numbers are removed.

Private and free

The PDF is read on your device with the open source pdf.js library. No upload, no sign-up, no page limit below 1,000 pages. The result shows its OpenAI token count.

Questions

Is my PDF uploaded to a server?

No. The PDF is read by your own browser and the Markdown is made on your device. Nothing is sent to DealMahal or anyone else.

Does it work with scanned PDFs?

No. A scanned page is a picture with no text inside, so there is nothing to convert. The tool tells you when this happens. Scans need text recognition (OCR) first, which our paid PDF Table Extractor on Apify does.

How are tables found?

From the gaps between pieces of text on the page. This works for most invoices, reports and statements. Tables without clear gaps, text drawn as images or unusual layouts may need a quick fix by hand, so check the result.

Is there a size or page limit?

Files up to 50 MB and the first 1,000 pages are converted. Very long files can take a while on a phone. If a PDF has more pages, split it and convert each part.

How many tokens will the Markdown use?

The result shows the exact count for current OpenAI models (o200k_base) and an estimate for Claude. For more models and context windows, open the result in the token counter.

More free tools

All tools