The honest answer first: plain text has no formatting to keep
A PDF stores text with its look — font sizes, bold, headings, columns, tables. Plain text (.txt) stores only the words. So converting a PDF to plain text always drops the formatting: headings become ordinary lines, bold disappears, tables collapse into lines of values, and multi-column pages can come out in the wrong reading order. No converter can put formatting into a .txt file, because the format has nowhere to store it.
That does not mean you have to lose the structure. The trick is to pick the right output format for what you actually need: Markdown keeps the structure (headings, paragraphs, page breaks) in a plain-text file you can paste anywhere, while plain .txt is only right when you truly need just the words.
Keep the structure: convert PDF to Markdown
Markdown is still plain text, but it marks up structure with simple characters — # for a heading, blank lines between paragraphs — so the document stays readable and editable. BConvert's PDF to Markdown Converter reads your PDF page by page and rebuilds it as clean Markdown: larger text is detected and promoted to headings, paragraphs are separated, and each page is marked so long documents stay navigable. You can toggle page headings and heading detection to suit the document.
- Open the PDF to Markdown Converter and drop your PDF in — it never leaves your browser.
- Keep heading detection on for a well-styled document (reports, manuals, papers); turn it off if the headings come out wrong.
- Review the Markdown in the preview box, then copy it or download the .md file — paste it straight into Notion, Obsidian, GitHub, a docs site, or feed it to an AI model.
When you really do want plain text
Sometimes structure is noise — quoting a paragraph, feeding text to a script, searching a document. Then plain text is the right call, and the Text to PDF Converter does it in reverse too:
- Open the Text to PDF Converter and switch the direction to PDF → Text.
- Drop your PDF in — the text is extracted page by page, locally in your browser.
- Download the .txt file, or copy the text straight to your clipboard.
What about tables?
Tables are the hardest part. Plain text flattens a table into lines, and even Markdown output can jumble a complex table's reading order. If the table itself is what you need, do not convert to text at all — convert the PDF to a spreadsheet instead, with the PDF to Excel guide, so the rows and columns survive as real cells.
Scanned PDFs need OCR first
If your PDF is a scan — a photo of a page, not real text — there is no text inside the file to extract, and every converter will return an empty file. Run it through the OCR tool first to recognise the words, then convert the result to Markdown or text. See the full walkthrough in how to make a scanned PDF searchable.
Honest limits
- Plain .txt cannot keep formatting. Bold, italics, font sizes and colours are gone the moment you choose plain text — that is the format, not a flaw in the tool.
- Markdown keeps headings and paragraphs, not exact layout. It does not preserve fonts, colours, page design or complex tables — it preserves the document's structure.
- Multi-column pages can read out of order. Text is grouped into lines by position, so a two-column article or a magazine layout may interleave the columns. Check the output before you rely on it.
- Scanned PDFs return nothing without OCR. If the PDF is images, extract nothing — run OCR first.
- Heading detection depends on consistent styling. A document where headings and body text are the same size will convert as flat paragraphs.
Frequently asked questions
Can I convert a PDF to text without losing formatting?
Not into plain .txt — plain text has no way to store bold, headings or tables, so they are always lost. To keep the structure, convert to Markdown instead: headings and paragraphs survive as # marks and blank lines, and the file is still plain text you can paste anywhere.
What format keeps a PDF's structure when I extract text?
Markdown. It keeps headings, paragraph breaks and page markers in a plain-text file, and it pastes cleanly into Notion, Obsidian, GitHub and AI tools. For tables, convert to Excel instead so the rows and columns stay as real cells.
Why does my converted text come out in the wrong order?
Multi-column layouts are the usual cause: the extractor reads text line by line across the page, so two columns can interleave. Try the Markdown converter, which groups text by position, and check the preview before you download.
Why is my converted PDF text file empty?
Your PDF is probably a scan — a photo of a page with no text layer inside. No text extractor can read it. Run the PDF through an OCR tool first to recognise the words, then convert.
Is converting PDF to text free?
Yes. Drop the PDF in, choose Markdown or plain text, and copy or download the result — free, no signup, and the file never leaves your browser.
Will my PDF be uploaded to a server?
No. Both converters run entirely in your browser, so your document never leaves your device.
Try it now
Ready? Convert a PDF to Markdown to keep the structure — or extract plain text when you only need the words. Free, no signup, and your file never leaves your browser.