Files tool

PDF to Markdown Converter

Choose a text-based PDF to extract its selectable text into a Markdown file with a heading for each page.

Runs in your browser. No upload.

Extracts selectable text page by page. Scanned pages need OCR first; layout, tables and images are not preserved. Your file stays on this device.

About this tool

PDF to Markdown Converter made simple.

This text-first conversion runs in your browser and does not upload the PDF. Scanned pages must be processed with OCR first. It preserves page boundaries but not the original layout, columns, tables or images; review the Markdown before using it.

Guide

Using PDF to Markdown Converter

This page pulls the selectable text out of a PDF and writes it as a Markdown file. Each PDF page gets its own heading, such as Page 1, followed by that page's words. You see the result in a box and can download it as a .md file. It is a plain text copy, so it does not keep columns, tables, pictures, bold text or headings from the original. Scanned pages have no selectable text and need character recognition first. The work happens in your browser.

How to use it

  1. Press Choose a PDF and pick a text-based PDF from your device. It must be under 50 MB and have no more than 300 pages.
  2. Press Convert file. A progress line shows each page number as it is read on your device.
  3. Read the Markdown output box and check it against the PDF. Fix line joins, lists and tables by hand where needed.
  4. Press Download to save the Markdown file. The name is taken from your PDF file name with the .md ending.
  5. Press Clear to empty the file box, the output and the download link before you convert another file.

Worked examples

A short text PDF

You enter
File
notes.pdf, 3 pages: page 1 has a title line and two lines of text, page 2 has one line, page 3 is blank
You get
Markdown
## Page 1 Chapter One The quick brown fox jumps over the lazy dog. ## Page 2 Second page text ## Page 3

The words of each page are joined into a single line and extra spaces are squeezed. The title is not marked as a heading, and the blank page still gets its Page heading with nothing under it.

Not run through the tool. Treat it as an illustration.

A scanned document

You enter
File
contract-scan.pdf, pages are photographs of paper
You get
Message
No selectable text was found. For a scanned PDF, run OCR first.

A scan is a set of pictures, so there is nothing to select. Run character recognition on it with a separate tool, then convert the new PDF here.

Not run through the tool. Treat it as an illustration.

A file that is too large

You enter
File
annual-report.pdf, 60 MB
You get
Message
For this browser-based tool, choose a PDF under 50 MB.

The size is checked before anything is read. Split the PDF into smaller parts or shrink it, then try again.

Not run through the tool. Treat it as an illustration.

A very long book

You enter
File
textbook.pdf, 400 pages, 20 MB
You get
Message
For safety, this tool supports up to 300 pages per PDF.

Even a file under the size limit is refused if it has more than 300 pages. Split it into parts of 300 pages or fewer and convert each part.

Not run through the tool. Treat it as an illustration.

When it helps

  • Turning a text-based report, article or handout into a file you can edit in any plain-text editor.
  • Getting the words out of a PDF so you can paste them into notes, a wiki or a repository.
  • Preparing a PDF's text for a search, a word count or a tool that accepts Markdown.
  • Checking quickly which pages of a PDF contain selectable text and which are empty.
  • Making a rough text copy of a document when you cannot install software on the computer you use.

Limits to keep in mind

  • Files must be under 50 MB and have at most 300 pages. Large files may be slow or run out of memory on small devices before those limits are reached.
  • Only selectable text is read. Scanned pages, photographs of text and words inside images give nothing, and the whole file is refused if no page has any text.
  • Each page becomes one line of text. Paragraph breaks, columns, tables, lists, links, footnotes, images and formatting are not kept, and reading order for multi-column pages may be mixed.
  • Headings inside the document are not detected. The only headings in the output are the Page 1, Page 2 labels the tool adds.
  • A PDF that needs a password to open cannot be read, because the page has no place to type one.

Tips

  • Open the PDF beside the Markdown and compare a few pages before you trust the whole file.
  • If you can select and copy words in your PDF viewer, this tool can usually read them. If you cannot, the file is probably scanned.
  • Add your own headings, bullets and tables after conversion, since the tool does not recognise them.
  • For long documents, convert in parts of 300 pages or fewer and join the downloads yourself.

Common questions

About PDF to Markdown Converter.

How can I convert a PDF to Markdown with this page?

Choose a text-based PDF, press Convert file, check the text in the output box, and download it. Each page is written under its own Page heading, with the words of that page on one line below it.

Does the conversion keep the layout, tables or pictures?

No. It copies only the selectable words. Tables turn into plain text in reading order, pictures are dropped, and columns can run together. Treat the output as raw text that you tidy by hand.

Why does it say no selectable text was found?

The PDF is probably a scan or a set of photographs, so it contains pictures of words and not real text. Run it through character recognition first, then convert the new PDF. A text-based PDF with all pages empty gives the same message.

Are the headings in my document turned into Markdown headings?

No. The tool does not look at font size or style. The only headings it writes are the Page 1, Page 2 labels it adds itself. Title lines stay as ordinary words inside the page text.

What are the size and page limits?

The file must be under 50 MB and have at most 300 pages. Each limit gives its own message. Memory and speed of your device can make the practical limit lower, especially on phones.

Is my PDF uploaded to a server?

No. The text is read by code in your browser, and the file stays on your device. The download is a file made locally. Close or clear the page when you finish if the computer is shared.

Can it open a PDF that needs a password?

No. The page has no password box, so a locked PDF cannot be read here. Remove the protection with a tool or app you are allowed to use, then convert the unlocked copy.

Why do some pages show out-of-order sentences?

The tool joins text pieces in the order stored in the PDF, which is not always the order you read in. Columns, sidebars and text boxes are the usual causes. Fix the order by hand after downloading.

When should I not rely on the result?

Do not rely on it for legal, financial or scientific text without checking it against the PDF. Numbers in tables, special symbols and hyphenated words can come out wrong or joined, so review everything before use.

How can I convert a PDF to Markdown?

Choose a text-based PDF and convert it. The tool extracts selectable text and separates pages with Markdown headings.

Does PDF to Markdown preserve the original layout or tables?

No. It extracts text, not the original design, columns, tables or images. Scanned PDFs need OCR first, and you should review the result.

Is my PDF uploaded to convert it?

No. Text extraction runs locally in your browser. The tool supports PDFs up to 50 MB and 300 pages; memory and browser performance can impose lower practical limits.