Hack the Hydra

PDF to text converter

Get clean plain text out of a PDF: lines are re-joined into paragraphs and hyphenated words are fixed. Runs in your browser, nothing is uploaded.

🔒 Private by design: the conversion runs in this browser tab. Nothing is uploaded.

PDF to text converter is a free online tool by Hack the Hydra. Extract plain text from any PDF for free, in your browser. Paragraphs re-joined, hyphenation fixed, download as .txt. No upload, no sign-up.

100% freeNo upload: runs in your browserNo sign-up

Key facts

Input formatsPDF with selectable text (scanned PDFs need OCR PDF)
Size limit100 MB per file (checked in the browser)
Where it runsIn your browser with pdf.js 4.10.38; the file is not uploaded (the library itself is downloaded from a CDN)
CostFree, no sign-up
OutputPlain text, copy or download as .txt

Text or Markdown?

Plain text is best for search indexes, word counts and simple copy-paste. If you will give the document to ChatGPT or Claude, use PDF to Markdown instead: headings help the model.

Scanned PDFs

If almost no text comes out, the PDF is a scan. Use OCR PDF, which reads every page with OCR in your browser.

What the tool repairs

Copying from a PDF viewer keeps every line break of the page. This tool rebuilds paragraphs instead: lines of the same paragraph are joined with a space, a word split by a hyphen at the end of a line is glued back together ("informa- tion" becomes "information"), a larger vertical gap starts a new paragraph, and bullet or numbered items stay on their own lines. Headings are kept as separate lines without Markdown marks.

Example

The same one-page PDF as on the PDF to Markdown page, extracted as plain text: no heading marks, paragraphs kept, the broken line joined.

Input

(one-page PDF)
Remote work policy                         <- 20 pt bold
Who can work remotely                      <- 14 pt bold
Employees can work from home up to three days a week,
after agreement with their manager.        <- 11 pt, two lines
Equipment                                  <- 14 pt bold
The company provides a laptop and a headset.

Output

Remote work policy

Who can work remotely

Employees can work from home up to three days a week, after agreement with their manager.

Equipment

The company provides a laptop and a headset.

How to use

  1. Drop your file in the box above, or click to pick it.
  2. Wait a few seconds while it converts locally.
  3. Copy the result or download it.

FAQ

Why is copied PDF text full of line breaks?

PDFs store text line by line. This tool re-joins lines into paragraphs and fixes words split by hyphens.

Is there a page limit?

No. The work runs on your own computer.

Guides

Bulk conversion API

Need hundreds of PDFs, scanned PDFs (OCR) or real Markdown tables? Use the API: $3 per 1,000 PDFs, failed files free. Open the API →

curl -X POST "https://api.apify.com/v2/acts/extas_corp~pdf-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" -d '{"pdfUrls":[{"url":"https://arxiv.org/pdf/1706.03762"}]}'

Use it via API, with a free plan: Document to Markdown API (RapidAPI) · Apify

More free converters

PDF to Markdown converterOCR PDF: scanned PDF to textImage to text (OCR)Word (DOCX) to Markdown converterExcel & CSV to Markdown tablesHTML to Markdown converterPowerPoint (PPTX) to Markdown converterJSON to Markdown tableExcel to JSON converterMarkdown to HTML converterMerge PDF filesSplit PDF: extract pagesRotate PDFJPG to PDF converterPDF to JPG converterImage converter: PNG, JPG, WebPCompress image: JPG and WebPQR code generatorWord counterCase converterJSON formatter and validatorBase64 encode and decodeURL encoder and decoderUUID v4 generatorStrong password generatorLorem ipsum generatorJSON to CSV converterRemove duplicate linesUnix timestamp converterJSON to YAML converterText diff checkerImage resizerPercentage calculatorAge calculatorHash generator (SHA-256, SHA-1, SHA-512)Color converter: HEX, RGB, HSLDays between dates calculatorYAML to JSON converterUnit converterJWT decoderBinary, hex, decimal and octal converterRoman numeral converterRegex testerCron expression explainerPDF to Markdown for ChatGPTPDF to Markdown for ClaudePDF to Markdown for RAG pipelinesPDF to Markdown for ObsidianPDF to Notion (via Markdown)Screenshot to textFrench OCR: image to textCSV to Markdown tableGoogle Docs to MarkdownJPG / JPEG to text (OCR)PNG to text (OCR)CSV to JSON converterPNG to JPG converterJPG to PNG converterWebP to PNG converter