fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward

Convert PDF Online Free

Getting text back out of a PDF means rebuilding what it threw away.

A PDF stores where each glyph sits, not which paragraph it belongs to. That is why converting one to DOCX or ODT is reconstruction rather than translation: the converter has to work out from coordinates alone which runs of text form a line, which lines form a paragraph, and which blocks are a table. Columns, footnotes and scanned pages are where it is hardest, so check those first in the result.

PDF was designed in 1993 so a document looks identical on every screen and printer. It does that by fixing every letter, line and picture to an exact position, with its fonts packed inside. Peel the layers of a typical page apart to see what's in one.

1 · drawing
2 · text
3 · fonts
4 · images
5 · forms
6 · security
unfold_lessStack back up
drawDrawing instructionslayer 1 of 6 · the page itselfThe page is a list of commands: move here, draw this line, fill that box, place these letters. A viewer runs them in order, like a very precise pen plotter.
0.86 0.15 0.15 rg72 700 468 4 re fBT /F1 24 Tf 72 660 Td(Quarterly report) Tj ET
buildPDF to Word or PowerPoint turns these commands back into editable boxes and text.
~/no-paragraphs-inside

Why changing one word in a PDF breaks the line.

A PDF doesn't know about paragraphs. Each line is placed separately at fixed coordinates, so nothing reflows when a word gets longer. Type a replacement for the highlighted word and watch the line.

In a Word documentreflows
The committee met on Wednesdayto review the budget for nextyear and agreed to publish thereport before the end of themonth.
Words move to the next line and everything below shifts down to make room.
In a PDFpushes the line
The committee met on Wednesday to reviewthe budget for next year andagreed to publish the reportbefore the end of the month.
The line gets longer but the rest stays put. A few more letters and it crosses the margin.
~/smallest-valid-pdf

A complete one-page PDF, small enough to read.

Underneath the layers, a PDF is five kinds of numbered objects plus an index of where each one starts, counted in bytes from the beginning of the file. This one is generated from your settings, and it’s a real file that opens in any viewer. Change the text and every byte offset in the cross-reference table shifts to match.

page size
A4Letter
download605 bytes
0
%PDF-1.7%âãÏÓ
15
1 0 obj<< /Type /Catalog /Pages 2 0 R >>endobj
64
2 0 obj<< /Type /Pages /Kids [3 0 R] /Count 1 >>endobj
121
3 0 obj<< /Type /Page /Parent 2 0 R /MediaBox [0 0 595 842] /Resources << /Font << /F1 5 0 R >> >> /Contents 4 0 R >>endobj
256
4 0 obj<< /Length 43 >>streamBT /F1 24 Tf 72 746 Td (Hello, world) Tj ETendstreamendobj
349
5 0 obj<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>endobj
422
xref0 60000000000 65535 f 0000000015 00000 n 0000000064 00000 n 0000000121 00000 n 0000000256 00000 n 0000000349 00000 n 
551
trailer<< /Size 6 /Root 1 0 R >>startxref422%%EOF
4 0 obj · byte 256 · 93 bytesContent streamThe drawing instructions. BT and ET open and close a text block, Tf picks font and size, Td moves to a position measured from the bottom-left corner, and Tj shows the string. Real files usually Flate-compress this stream.
/Length43 bytesoriginbottom-leftoperatorsBT Tf Td Tj ETfilternone (uncompressed)
how a viewer opens it1Read the last bytes and find %%EOF.2startxref says the index begins at byte 422.3The trailer’s /Root points to object 1, whose offset the index gives as 15.4Catalog → page tree → page 3 → content stream 4, each located by its offset.
~/append-only

Edits are added to the end. The old version is still in the file.

A PDF editor doesn’t rewrite the file when you save. It appends the changed objects, a new cross-reference section and a trailer pointing back to the previous one. That is what lets a signature stay valid after someone fills in a form, and why deleted text can often be recovered. Apply the edits below in order.

check_circleFill in the name fieldA new version of the form field object is appended.check_circleSign the documentA signature field and a signature value covering every byte so far.editChange the salary figureThe page’s content stream is appended again with the new number.deleteDelete the old paragraphAnother content stream without it; the earlier one stays behind.check_box_outline_blankSave As / optimiseRewrite the whole file as one clean revision.
the file, start to end56.1 KB · 3 revisions
original+ 2+ 3
trailer chain, read from the endtrailer /Prev 48,320revision 3: Sign the documenttrailer /Prev 47,100revision 2: Fill in the name fieldtrailer · xref at 47,100revision 1: the original file
verifiedSignature covers everythingIts /ByteRange spans the whole file except the signature value itself.infoEach save adds a trailerViewers show only the latest revision, but every earlier one remains readable by tools.
~/every-version-inside

Open any PDF and get back every version it has ever been.

An incremental save adds new objects to the end of the file and leaves the old ones where they were. This page follows the xref chain and separates the file into its revisions, listing what each one added, changed or deleted. It extracts the page text at each step, so you can see what the document said before it was edited. Signatures are checked for which bytes they cover, whether the covered bytes match the digest inside the signature, and what was changed afterwards. Every earlier revision can be downloaded as it was. Everything happens on your device. Both samples are real PDFs built in your browser.

Building the sample…
What the trailers say
Revision
Objects in this revision
Text changes
Object
Signatures
No /ByteRange anywhere in the file, so it is not digitally signed. A drawn or typed signature image is just page content.
A signature’s /ByteRange covers the whole file as it was at signing, except the hole where the signature itself sits. Anything appended later is outside it. Viewers then report “modified after signing” and compare the revisions to decide whether the change was allowed: filling form fields or adding comments can be, but changing page content never is. This page checks that the covered bytes hash to the digest stored in the signature; it does not check the certificate.
~/pdf-a-x-ua

Some organisations ask for a specific kind of PDF.

They're all ordinary PDFs that follow extra rules. Pick who's asking to see which rules apply and what they forbid.

account_balanceArchives, courts, governmentPDF/AprintPrint shopsPDF/Xaccessibility_newPublic sector, accessibilityPDF/UAdescriptionEveryone elseStandard PDF
PDF/A is for keeping documents readable for decades. Everything needed to display the file must be inside it, and nothing may depend on the outside world.
check_circleAll fonts embeddedcheck_circleColours defined exactlycancelNo encryption or passwordscancelNo audio, video or JavaScriptcancelNo links to outside filescheck_circleMetadata in a standard form
~/which-pdf-standard

Some documents must be a specific kind of PDF, not just a PDF.

A PDF that opens perfectly can still be rejected, because several industries require a named subset of the format rather than the format itself. The differences are not cosmetic: each subset forbids things the general format allows, so a file can be a valid PDF and an invalid PDF/A at the same time, and the only way to know is to check rather than assume.

PDF/A is the archival subset, and its central rule is that the file must be self-contained. Every font has to be embedded rather than referenced, because a font available today may not be installed on the machine that opens the file in twenty years. Encryption is not allowed, and neither is anything whose rendering depends on the outside world. That is what makes it the format records offices and courts ask for.

PDF/X exists for print and fixes the variables a press cares about. Colours are pinned to a defined space so what comes off the plate matches what was approved on screen, trim and bleed boxes are declared explicitly, and transparency is handled predictably. A print shop asking for PDF/X is not being awkward; they are removing the ambiguity that produces an expensive reprint.

PDF/UA is the accessibility subset, and it is about structure rather than appearance. The content is tagged with what each part is, so a screen reader can announce a heading as a heading and read a table by row and column instead of reciting coordinates. Reading order is declared rather than inferred. Public sector work frequently mandates it, and a visually identical untagged file will fail.

Converting into or out of a PDF is where these requirements bite, because a conversion rewrites the file and can quietly drop what made it compliant. If a document has to meet one of these standards, check the result after converting rather than trusting that the label survived, and keep the compliant original: a PDF/A file re-saved by an ordinary tool is usually no longer PDF/A.

~/spec-sheet

PDF, for reference.

Identifiers and structure from ISO 32000, with each version’s headline additions. Click a version to see what it introduced; the header line of any PDF says which one it claims.

Full namePortable Document FormatCreated by Adobe; an open ISO standard since 2008
Extension.pdfPortfolios and forms use the same extension
MIME typeapplication/pdfRegistered with IANA, documented in RFC 8118
Apple UTIcom.adobe.pdfUniform Type Identifier on macOS and iOS
Magic bytes25 50 44 46 2D“%PDF-” then the version. Readers accept it within the first 1,024 bytes
File ends%%EOFReaders scan backwards for it; incremental saves add more
StandardISO 32000-2:2020PDF 2.0, second edition; free via the PDF Association
Earlier standardISO 32000-1:2008PDF 1.7; Adobe publishes a free copy
Coordinates1 unit = 1/72 inchOrigin bottom-left; A4 is 595 × 842, Letter 612 × 792
Page size limits3 to 14,400 unitsAcrobat’s limit: 1/24 inch to 200 inches per side; UserUnit scales further
CompressionFlate · DCT · JPX · JBIG2 · CCITTPlus LZW, RunLength, ASCIIHex and ASCII85 encodings
EncryptionRC4 40/128 · AES-128 · AES-256PDF 2.0 allows only AES-256 for new files
SubsetsPDF/A · X · UA · E · VTISO 19005, 15930, 14289, 24517, 16612-2
Standard fonts14Times, Helvetica, Courier (4 styles each), Symbol, ZapfDingbats
1.019931.119941.219961.319991.420011.520031.620041.720062.02017
%PDF-1.7 · 2006 · Acrobat 8PDF 1.7Adobe gave the specification to ISO, which published it as ISO 32000-1 in 2008.
addPortfolios (collections)addXFA forms referenceaddBecomes ISO 32000-1:2008addAdobe extension levels later
~/work-with-a-pdf

What people most often need to do with one.

Each tool works on the layer it names above.