First, find out whether the PDF contains text
A PDF can hold its text as text, or hold each page as something like a photo. A file saved as PDF from Word or another word processor is the first kind; a scan of paper, or photos bundled into a PDF, is usually the second. The test is simple: in a PDF viewer, try dragging across a sentence to select it, or search for a word with Ctrl+F. If nothing can be selected or found, there is no text to take out.
| Kind of PDF | How to tell | In this editor |
|---|---|---|
| PDF with text | Sentences can be selected and words found | Text is taken from each page and joined into paragraphs |
| Scan | The whole page selects like a picture and no word is found | You are told there is no text (no text recognition is run) |
| PDF that asks for a password | A password prompt appears as soon as you open it | Not opened; remove the password in the original app, then open it again |
| PDF with tables or charts as images | Body text selects, but a table or chart selects as one picture | Only the text comes out; words inside the images are left behind |
What the extracted text looks like
The PDF is read inside this browser by Mozilla's pdf.js, and the file is not sent to a server.
- Lines are joined into paragraphs, with breaks where the line spacing widens or the font size changes.
- Short lines in type noticeably larger than the body become headings.
- A word hyphenated across the end of an English line is put back together, and Japanese and Chinese characters are joined without spaces.
- Lines that hold only a page number are dropped.
- Tables arrive as plain text without cells, and images do not arrive at all.
- The first 300 pages are read, and files over 30 MB are not opened.
Save the fixed text as a new file
Open the PDF with Open a file under File in the toolbar and edit the text with Quick check in the check panel beside you. When you are done, choose Save as Word (docx) or Save as PDF; for a PDF, set the destination to Save as PDF in the browser's print window. The original PDF stays as it was, and your edited text becomes a new file.
Right after extraction, the places that need the most work are where tables used to be. Turn the values that ran together into sentences, or insert a new table and rebuild them.
With a scan, start with text recognition
A scan needs text recognition (OCR) to produce text first, and this editor does not do that. One free route is Google Drive: upload the PDF, right-click it and choose Open with, then Google Docs, and the text is read into a document. Google's help recommends keeping the file at 2 MB or smaller and the text at least 10 pixels high, and notes that lists, tables, columns and footnotes are not likely to be detected [1].
Once recognition has put text into the PDF, this editor can take that text out too. Recognition gets some characters wrong, so check numbers and names against the original first.
When the layout itself has to survive
For a PDF where the boxes and page layout are the point, such as an application form or a contract template, fixing only the extracted text leaves the layout behind. In that case it is faster to ask whoever sent the PDF for the original file (docx, or hwp in Korea) and edit that. Those original files open in this editor too.
If you have Word, opening the PDF in Word is another option. Microsoft's help explains that Word makes a copy of the PDF and converts it to a Word document, leaving the original PDF untouched. It works best with files that are mostly text, may not look exactly like the PDF, and a page that is mostly charts or graphics may come in as a single image [2].
References
- [1] Google Drive Help, Convert PDF and photo files to text.
- [2] Microsoft Support, Opening PDFs in Word.
Frequently asked questions
Can I edit the PDF exactly as it looks?
Not in this editor. Only the text is taken out and opened as a new document, and you save your edits as a new docx or PDF. If the page layout must survive, get the original file and edit that.
What do I do with a scanned PDF?
Run it through text recognition (OCR) first. Open the PDF in Google Docs from Google Drive and the text is read into a document; copy that text into this editor to carry on with checking and saving.
What about password-protected PDFs?
A PDF that asks for a password when opened is not opened here. If you know the password, remove it in the original app, save the PDF again and open that copy.
Is the PDF uploaded to a server?
No. The PDF is read inside this browser. If you open it while signed in, the extracted text becomes a new document saved to your account.