Convert PDF to plain text (TXT)
Yes, on iPhone, iPad and Android, without uploading the file.
Per platform
| iPhone and iPad | Best effort | What you lose: Formatting is lost, and on complex layouts the reading order is not guaranteed. |
|---|---|---|
| Android | Best effort | What you lose: Formatting is lost, and on complex layouts the reading order is not guaranteed. |
How it works
- Import the PDF file, or share it with Tramuta.
- Pick TXT among the formats.
- Tap “Convert”, then “Share” or “Save to…”.
You extract the text from a PDF to quote it, search it, paste it into an email or feed it to another program. Tramuta reads the PDF’s text with PDFium right on your phone or tablet and saves it as a plain text file. The document stays on the device.
What you lose going from PDF to plain text
The conversion is “Best effort” on iPhone, iPad and Android: “Formatting is lost, and on complex layouts the reading order is not guaranteed.”
Only the characters remain. Bold, images, tables and columns disappear; each line of the PDF becomes a line of text, runs of spaces inside a line shrink to one, and pages without text are skipped. PDFium sets the order of the lines: for a single column it follows the reading order, while multi-column pages or side boxes can get their blocks mixed. The file is UTF-8 with LF line endings.
A PDF with text, or a scan?
This conversion reads the text the PDF already contains. If the PDF is a scan, made of page images, there is nothing to extract. Tramuta doesn’t write an empty file that would look like a success: it stops with “No text in the PDF” and suggests running “Recognize text (OCR)” on the same file.
OCR also works without a network: on iPhone and iPad with Vision, on Android with Tesseract and the Italian and English models bundled with the app. One of its results is “Text only (TXT)”. Recognized text may contain errors, as the PDF OCR page explains.
Options for PDF to TXT
- “Pages”: empty means all of them; for example 1-3, 5, 8-.
- “Separator between pages”: “Blank line” (default), “Page break” or “None”.
- “PDF password”: only if the file is protected; Tramuta doesn’t save it.
How to do it in Tramuta
- Tap “Choose or drop files” and pick the PDF, or send it to Tramuta with Share or “Open in…”.
- Under “Convert to”, pick Plain text.
- In “Options”, set the pages and the separator.
- Tap “Convert”, then use “Share”, “Save to…” or “Open in…”.
Want a document with headings and images you can edit? Try PDF to DOCX. To keep the look of the pages there is PDF to JPG. The output format is described under Plain text.
The two formats
-
PDF
Extensions: .pdf
-
Plain text
Extensions: .txt
Questions
Why does Tramuta say “No text in the PDF”?
Because the PDF is a scan: its pages are images, with no text to extract. Rather than writing an empty file, Tramuta stops and suggests “Recognize text (OCR)” on the same file.
Does the text come out in the right order?
For a single-column text it usually does. With columns, side boxes or tables, PDFium decides the order and two blocks may interleave: that is the stated limit of this conversion.
What encoding does the text file use?
UTF-8, with LF line endings and a single newline at the end.
Can I keep the pages apart?
Yes. Under “Separator between pages” choose “Blank line”, “Page break”, or “None” if you want one continuous text.
Free on iPhone, iPad and Android
No ads, no in-app purchases, no account.
-
App Store
iPhone and iPad, iOS 15.0 or later.
Coming to the App Store -
Google Play
Android 7.0 or later.
Coming to Google Play -
APK for Android
Android 7.0 or later, without Google Play.
The APK is not available yet.