PDF to Markdown
Clean Text for AI and Docs

Drop a PDF and get tidy Markdown in seconds. Keeps headings, lists, tables, bold and italic, reads scanned pages with OCR, and adds optional front matter from the PDF's own details. The file is read in your browser and never uploaded. 100% client-side. Zero data stored.

PDF to Markdown illustration: a PDF page with a heading, a table and a list turning into a Markdown file with pound-sign headings and a pipe table

PDF to Markdown Converter

Your PDF

Your PDF never leaves this browser. Nothing is uploaded.

Options

Choose or drop a PDF to get started. Nothing leaves your browser.

Pages
0
Words
0
Tokens (estimate)
0
Headings
0
Table rows
0

Tokens are an estimate: characters divided by four. A real model counts with its own tokenizer, so the true number differs. The Markdown starts and ends with one line saying it was converted with RJL.io, with a link to this tool.

What People Use It For

Give a report to an AI assistant

Paste a long PDF into a chat as Markdown. The model gets the headings and tables as structure instead of a wall of loose lines, and you see the token cost before you paste.

Prepare documents for search and RAG

Turn manuals, policies and papers into Markdown you can split by heading for a knowledge base, a vector index or a support bot, with the page markers kept for citations.

Move a PDF into a docs site or repo

Start a README, a wiki page or a static-site article from an old PDF instead of retyping it. Front matter with the title and author is ready for most site generators.

Get tables out of a PDF

Copy a price list, a spec sheet or a results table as a pipe table that renders on GitHub and pastes cleanly into a spreadsheet or a chat window.

Convert private files safely

Contracts, statements and internal reports stay on your computer. The converter runs in the browser tab, so nothing is sent to a conversion service.

Rescue text from scans

A scanned page has no text to copy. The tool spots those pages and reads them with OCR, then puts the text back in page order with the rest of the document.

What Converts, and How

How each part of a PDF becomes Markdown
In the PDF In the Markdown
Large or bold title lines# to #### headings, picked from the font sizes used in the document
Bold and italic words**bold** and *italic*
Bulleted and numbered lists- and 1. items
Tables, ruled or lined up in columnsA GitHub-flavored pipe table with a header row
Monospaced codeA fenced code block
Paragraphs broken across lines, hyphenated wordsJoined into whole paragraphs
Scanned pages (pictures of text)Flagged, then read with OCR when you press the button
Pictures, charts and drawingsLeft out, or marked with a placeholder if you turn that option on

Columns and layout

A PDF stores where each word is drawn, not which column or paragraph it belongs to. The converter rebuilds the reading order from positions. It names the pages with columns and tables so you know where to check.

Front matter

A YAML block at the top with the PDF's title (or its file name), author, subject, keywords, created date, page count, the source file name and today's date. Site generators and notes apps read it as metadata.

Page markers

An HTML comment such as <!-- Page 12 --> before each page. It does not show when the Markdown is rendered, but it lets a search index or an AI answer cite the page a passage came from.

Compact output

Trims layout detail the reader rarely needs, to save tokens when the text is going to a model. Many documents come out the same either way; the difference shows on heavily formatted ones.

Password-protected PDFs

When a PDF needs a password to open, a password box appears. The password is used in your browser to read the file and is never sent or saved.

Nothing is uploaded

The converter is downloaded to your browser once and then runs there. Your PDF goes from your disk to the browser tab and nowhere else, and nothing is kept after you close the page.

Frequently Asked Questions

Why We Built This PDF to Markdown Converter

PDFs are made for printing, not for reading by software. Copy text out of one and you get broken lines, headers and page numbers in the middle of sentences, and tables flattened into a list of loose words. That is a poor thing to hand to an AI assistant, a search index or a docs site. Markdown keeps what matters - headings, paragraphs, lists and tables - in a plain text file anything can read.

Most PDF to Markdown converters want you to upload the file to their server, which is the wrong trade for a contract, a bank statement or an internal report. This one runs in your browser: the converter downloads once, reads the PDF on your own computer, and sends nothing back. It is quick too, because there is no upload to wait for. Scanned pages, which have no text at all, are read with OCR in the browser as well.

The PDF to Markdown converter is part of RJL.io's collection of free developer tools. Read the result in the Markdown Viewer, turn a web page into Markdown with HTML to Markdown, pull plain text from photos and screenshots with Image to Text, or split a large file first with PDF Split.

Is your site ready for Google and AI search?

The free SEO Analyzer checks any page in seconds - meta tags, structured data, AI crawler access - and tells you exactly how to fix each issue on your platform.