Categories About Us Contact Us Become a Member

What Is a PDF File? Portable Document Format, and What Is Inside One

A PDF file is a page-for-page snapshot of a document, frozen so it lands the same way everywhere. Jump to your question below, or read it through in order.

By Neeraj Singh ~21 min Updated Sep 2026 Checked against ISO 32000-2 and RFC 8118
Short answer

PDF stands for Portable Document Format. A PDF file holds text, fonts, images and the exact position of every one of them. So pages land the same way on any computer that opens them.

Adobe built it in the early 1990s. Since 2008 it has been an ISO standard, and a committee rather than Adobe decides what goes into it.

1 What is a PDF file? A frozen page, not an editable document

Send somebody your Word file and you are sending instructions. Their computer rebuilds the document from fonts and margins it happens to have, and the result drifts.

Send PDF instead and you are sending the finished page. Every letter already has coordinates. Nothing gets recalculated at the other end, which is why one contract printed in Mumbai matches the same contract printed in Munich.

Independence from the machine is the entire point. PDF presents documents the same way whatever the software, hardware or operating system at the other end.

That single design choice explains almost everything else on this page. PDF is hard to edit because it stores positions, not paragraphs. It is reliable for the same reason.

PDF file format at a glance

PDF file format at a glance
File extension
.pdf
Full name
Portable Document Format
Category
Fixed-layout document
Media type
application/pdf, registered in RFC 8118
Starts with
%PDF- then the version number
Ends with
%%EOF
Created by
Adobe, 1993
Standard
ISO 32000
Current version
PDF 2.0, ISO 32000-2:2020
Opens with
Every browser, and every desktop and phone platform
Editable
Yes, with the right software. Never as freely as a word processor
Needs backup
Yes. A PDF is usually the only copy of what it holds

The name almost every page gets wrong

Search this format and you will be told it means Portable Document File. That version is everywhere, including on this page until today.

It is Portable Document Format. ISO 32000 is titled Document management, Portable Document Format. Adobe, who named the thing, put it plainly.

AD
From the company that created it

“PDF is an abbreviation that stands for Portable Document Format.”

Worth saying plainly because the wrong version travels. Quote it in your specification, tender or compliance document and somebody will eventually notice.

PDF grew out of PostScript, the printing language Adobe already sold. PostScript described pages to printers. PDF describes pages to screens, with the parts printers do not need stripped out and the parts readers do need added.

You can see the family resemblance in the PostScript file format, and in EPS graphics files, which came from the same place.

Every PDF has four parts in the same order. Header, body, cross-reference table, trailer. The table records where every object sits, and the trailer closes with %%EOF.

2 What is inside a PDF file? Four parts, and one of them explains most PDF problems

Open any PDF in Notepad and the first line is readable. After that it turns to noise, because most of the file is compressed. Underneath, the shape is simple.

Four stacked bands showing a PDF file from top to bottom: a header naming the version, a body of numbered objects, a cross-reference table recording where every object sits, and a trailer that points back at that table and closes with the end of file marker
A reader starts at the bottom. Everything else it finds by following byte offsets out of the cross-reference table.

The four parts, in order

1. Header One line: %PDF- and the version number. RFC 8118 puts it plainly, that all PDF files start with those characters followed by the version.
2. Body Numbered objects, one per thing on the page. Fonts are objects. So are images, pages, bookmarks and attached files.
3. Cross-reference table An index, written in the file under the keyword xref. For every object it records the byte offset from the start of the file, which is how readers jump straight to page 800 without touching pages 1 to 799.
4. Trailer The keyword startxref says where the index begins. Then the root object, then %%EOF. Readers open PDF files here and work backwards.

Part three is the one to remember. That index is what makes 900-page reports open instantly, and it is what breaks when the file arrives incomplete.

Readers look at the end of the file for that index, then follow byte offsets to reach anything else. Lose the last few kilobytes and every offset still points at bytes that are no longer there.

That is why half-downloaded PDF files are dead rather than partly readable. Truncate a JPEG and you still see the top half of the picture. Truncate a PDF and you see nothing, because the map to the contents lived in the part that never arrived.

Section 11 covers what to do about it, and the answer is usually simpler than people expect.

Adobe published the PDF specification from 1993 to 2007. In 2008 ISO took it over as ISO 32000. The current edition is ISO 32000-2:2020, and since 2023 it has been free to download.

3 Who controls the PDF specification? Not Adobe, and not since 2008

Most pages on this subject still describe PDF as an Adobe format. It was one for fifteen years. It has not been one for eighteen.

A timeline of six dates from the 1991 Camelot proposal through PDF 1.0 in 1993, ISO 32000-1 in 2008, PDF 2.0 in 2017, the second edition in 2020 and free access to the standard in 2023
Adobe ran the format for fifteen years. ISO has run it for eighteen, and the shaded rows are the ones most pages still leave out.

How PDF moved from a company to a committee

It started in 1991 as an internal Adobe proposal from co-founder John Warnock, called the Camelot Project. The goal was one file anybody could view and print, whatever machine they had in front of them.

Adobe gave the format away early, which is the reason it won. The specification was free and royalty-free from the start, so anybody could write software that produced or displayed PDF without paying a licence.

That was unusual. Plenty of file formats stayed locked to one vendor and died with the product that made them.

PA
From the standards body's own history

“In 2008 ISO published Adobe’s PDF Reference 1.7 (with minor, non-technical changes) as ISO 32000-1.”

So ISO 32000-1 is PDF 1.7 with the Adobe branding taken off. Nothing technical changed at the handover. What changed is who decides what happens next.

The International Organization for Standardization, ISO for short, publishes it now. PDF has been an open standard rather than one company's property ever since.

PDF 2.0 is the proof. It arrived in 2017 from committee work, with no Acrobat launch beside it. It also dropped Adobe's own XFA forms and JavaScript extensions from the standard.

Ignore any page that says the format changes when Adobe ships a new Acrobat. That was true up to PDF 1.7 in 2006. It has been wrong for every version since, and it leads people to assume Adobe can still change the rules.

ISO TC 171 SC 2 maintains the standard. The PDF Association runs the secretariat.

The PDF specification is a free download now

ISO standards normally cost money, and for years ISO 32000-2 did. In April 2023 the PDF Association, with Adobe, Apryse and Foxit, made it available at no cost.

Almost nothing written about PDF mentions this. If you are building software, arguing a compliance point or settling a bet, the actual text of the standard is a click away.

Nine versions, from PDF 1.0 in 1993 to PDF 2.0 in 2017. Your file names its own version on the first line, so a text editor tells you in two seconds.

4 PDF versions, 1.0 through 2.0 What arrived when, and how to check which one you have

Version numbers matter less here than in most formats, because readers stay compatible in both directions. They still explain why old files behave oddly in new tools.

Every PDF version, the year it appeared and what it added.
VersionYearShipped withHeadline addition
PDF 1.01993Acrobat 1.0The format itself
PDF 1.11994Acrobat 2.0External links and basic security
PDF 1.21996Acrobat 3.0Forms, and Flate compression
PDF 1.31999Acrobat 4.0Digital signatures
PDF 1.42001Acrobat 5.0Transparency
PDF 1.52003Acrobat 6.0Layers and object streams
PDF 1.62005Acrobat 7.0Embedded 3D
PDF 1.72006Acrobat 8.0Later became ISO 32000-1
PDF 2.02017NothingISO committee release, no Adobe launch

Read the last row again. PDF 2.0 is the first version of this format that was never an Adobe product launch, and the only one with an empty column there.

How to check which version a PDF file is

Use this when a tool rejects your file as unsupported, or a client asks for PDF 1.4 and you have no idea what you sent them.

1 Open the file in any plain text editor. Notepad on Windows, TextEdit on a Mac or anything else that shows raw characters.
2 Look at the very first line. It reads %PDF- and then a number, so %PDF-1.4 or %PDF-2.0.
3 Close it without saving. The rest of what you see is compressed data and editing it will damage the file.
4 Prefer a menu? Most readers list it under File, then Properties, as PDF Version.

Old and new readers cope with each other better than you would expect. A PDF 1.0 file opens in today's software, and a PDF 2.0 file opens in software from 2005. Older software ignores features it was never taught, so pages may lose transparency or 3D objects and still read fine.

One catch. The version on line one is what the file claims. Tools that add features later can leave that line alone, so treat it as a strong hint rather than a guarantee.

The real types of PDF are ISO subsets: PDF/A for archiving, PDF/X for print, PDF/UA for accessibility, PDF/E for engineering and PDF/VT for variable print. They restrict PDF rather than extend it.

5 PDF/A, PDF/X and the rest Five official flavours, and what makes them different

Ask what types of PDF exist and the answers come back muddled. Here is the honest one. ISO defines five subsets, and every one of them is ordinary PDF with rules bolted on.

Ordinary PDF shown as a core band labelled ISO 32000, with five subsets beneath it: PDF/A for archiving, PDF/X for printing, PDF/UA for accessibility, PDF/E for engineering and PDF/VT for variable data printing
Every one of these takes features away. That restriction is the point, because it is what makes the result predictable.

The five ISO subsets

The subset standards built on top of ISO 32000, and who needs them.
SubsetStandardBuilt forYou meet it when
PDF/AISO 19005Long-term archivingA court, a bank or a records office asks for it
PDF/XISO 15930Prepress and printingA printer sends your artwork back
PDF/UAISO 14289AccessibilityA public body has to meet access rules
PDF/EISO 24517Engineering drawingsConstruction or manufacturing documents
PDF/VTISO 16612-2Variable data printingPersonalized statements and mailers

Notice what they have in common. Every one of them forbids things. Fonts must be embedded. Colors must be device-independent. Certain compression filters are off the menu.

PDF/A goes furthest. No JavaScript, no audio or video, no links to files that might vanish. The point is a document that still renders correctly in thirty years, when nothing it depended on is around.

PDF/X changed printing the same way. Studios once sent encapsulated PostScript artwork to a printer file by file. One PDF/X carries the entire job instead, fonts included.

These four are not types of PDF: PDF Formatted Text and Graphics, PDF Searchable Image Exact, PDF Image Only, PDF Searchable Image Compact.

They are scan output settings from one scanning application called PaperPort. They were sitting on this very page as the official list until today. If a page offers you those four, it copied them from the same place we did.

There is a genuine distinction hiding behind that list, and it is the one people actually mean when they ask about types. Section 7 covers it: a PDF made from a document and a PDF made from a scanner are very different animals.

PDF looks the same everywhere only when the fonts travelled with it. Embedding is optional in ordinary PDF, so files built without it borrow substitutes from whatever computer opens them.

6 Does a PDF look the same on every computer? The promise, and the condition nobody mentions

Every page about this format makes the same promise. The same PDF file looks identical on every machine that opens it. Mostly true, and the part that gets left out is worth knowing.

PDF can carry its fonts inside the file. It does not have to. When it does not, it names the font it wants and leaves your computer to find something close.

LC
From a national preservation authority

“Faithful rendering requires that fonts be embedded.”

Borrowing fonts rarely ruins pages. It shifts them. Letters get wider or narrower, lines wrap in new places and the table that fitted on one page now runs onto two.

That is the entire reason PDF/A, PDF/X and PDF/E all make embedding compulsory. Somebody noticed the promise had a hole and wrote standards around it.

Fonts embedded

The file carries its own type. Layout is identical on machines that have never seen that typeface. Larger file, and the only version you can rely on.

Fonts referenced

The file names its fonts and hopes. Smaller, fine inside one company where everybody has the same fonts installed, risky the moment it leaves.

You can check in about ten seconds. Open File, then Properties, then the Fonts tab. Entries marked Embedded or Embedded Subset came with the file. Anything without that word is being borrowed from your machine.

Worth doing before sending artwork to a printer, and before archiving anything you expect to still open in ten years.

Two kinds of PDF arrive in your inbox. One was exported from your word processor and holds real text. One came off the scanner and holds a photograph of text. Try to select any word and you will know in seconds.

7 Text PDF or scanned PDF? The distinction people mean when they ask about types

Both files end in .pdf. Both open in the same reader. What you can do with them afterwards is completely different, and nothing on the outside of the file tells you which you have.

Two panels comparing a PDF exported from a document, where words are stored as characters and select normally, against a PDF scanned from paper, where the page is one image and nothing selects, with a note explaining the invisible text layer OCR adds
Same extension, same reader, completely different file. Dragging the cursor across a line settles it faster than any menu.

How to tell them apart in one second

Drag your cursor across one line of the document. If words highlight, there is real text in there. If a blue rectangle covers the area instead, you are looking at a picture.

Exported from a document Real text Made by saving your Word file, spreadsheet or web page as PDF. Words are stored as characters, so they select, search and copy.
Scanned from paper A photograph Made by any scanner, copier or phone camera. The page is one image. Nothing selects, nothing searches and Ctrl and F finds nothing.
Scanned, then run through OCR Both at once Optical character recognition reads the image and lays an invisible text layer over it. The page still looks scanned, and now the words work.

That third row is the one worth knowing about. OCR does not replace your scan. It adds a hidden layer of characters positioned on top of the picture, so search and copy have something to grab.

It is also why scanned pages sometimes search perfectly and sometimes return nonsense. OCR guesses, and faint faxes or handwritten notes give it very little to work with.

A scanned PDF that has never been through OCR is invisible to search engines and to your own computer's search too. Archive ten years of paperwork that way and you have a filing cabinet, not a database.

Most scanning software offers OCR as a checkbox at scan time. Ticking it costs seconds per page and saves you rescanning everything later.

Neither kind is better. Scans are the legal record of a signed page. Exported PDF is the working document. Trouble starts when somebody needs one and was handed the other.

PDF has two passwords and they are not equal. A user password encrypts the file. An owner password only sets flags that readers are asked to respect, and free tools remove it in seconds.

8 The two PDF passwords, and only one is security Worth ten minutes before you rely on the wrong one

Protect any PDF and your software offers two boxes. They sit next to one another, they look equally serious and one of them is not security at all.

What the two PDF passwords actually do to the file.
PasswordAlso calledWhat it doesHow strong
User passwordOpen password, document open passwordEncrypts the file. Without it there is nothing to readReal. Modern PDF uses AES
Owner passwordPermissions password, master passwordSets flags saying no printing, no copying, no editingA request. Stripped in seconds

The user password does what you expect. Content is encrypted, and somebody without the password has nothing but noise.

The owner password does not encrypt anything. It writes a note into the file asking readers to disable printing or copying, and well-behaved software honours it.

An owner password protects nothing from anybody who does not want to cooperate. The content is sitting there unencrypted. Software that ignores the flag reads it straight out, and plenty of free tools do exactly that.

Competing guides describe this setting as locking your PDF so it cannot be edited or altered. It does not lock anything.

Use the owner password for what it is good at, stopping an honest colleague printing your draft by accident. For anything that actually matters, set a user password or do not send the file.

Rule of thumb. If somebody stealing the content would be a problem, encryption is the only answer. Permission flags are a courtesy notice, not a lock.

Digital signatures are a third thing entirely, and often the one people actually want. They do not stop anybody reading the document. They prove it has not changed since it was signed.

Images are almost always the reason a PDF is large. Text compresses to nearly nothing, while a page scanned at 600 dpi is a photograph. Repeated saving adds to it, because a change can be appended rather than rewritten.

9 Why is my PDF file so large? Three causes, in the order they are usually to blame

One forty-page contract can be 300 KB or 90 MB. Same number of pages, same words. The difference is what the file carries besides the words.

1. Images, and the resolution they were scanned at Pages at 600 dpi hold four times the data of the same pages at 300 dpi, and look no better in print. This is the cause nine times out of ten.
2. Embedded fonts Carrying fonts is what makes PDF reliable, and it costs space. Full CJK fonts add megabytes. Subsetting keeps only the characters used.
3. Every version you saved PDF can record changes by appending to the end of the file instead of rewriting it. Handy for signatures, and after twenty edits the file holds twenty layers of history.

How PDF compresses what is inside

PDF does not use one compression method. It stores a name against every stream so readers know how to unpack it.

The compression filters you will meet inside a PDF file.
FilterUsed forNotes
FlateDecodeText and most page contentThe same Deflate used by ZIP. Lossless, and the common one
DCTDecodePhotographsJPEG. Lossy, so quality drops every time it is recompressed
JPXDecodeHigh quality imagesJPEG 2000. Banned in several of the subset standards
LZWDecodeOlder filesSuperseded by Flate. Still turns up in files from the 1990s

Making a large PDF smaller

Use this when a file bounces off an email size limit, or an upload form rejects it.

1 Find out what is actually big. Rescanning at 600 dpi and saving as PDF is the usual culprit, not the text.
2 Rescan or re-export at 200 to 300 dpi. Anything above 300 is invisible on printed paper and quadruples the file.
3 Match the color mode to the job. Black and white contracts scanned in full color waste most of their size on paper texture.
4 Run the reader's own Reduce File Size or Optimize command, which recompresses images and drops unused fonts.
5 Still large? Save a fresh copy rather than saving over the original, so the file gets rewritten instead of appended to.

There is a second kind of slow, and shrinking the file does not fix it. A PDF meant for the web can be linearized, also labelled Fast Web View. It moves everything page one needs to the front, so a browser shows that page before the download finishes.

Without it a browser waits for the last byte, because the index it needs lives at the end. Same file size, very different wait.

Everything opens PDF. Every browser renders it, and Windows, macOS, Linux, Android and iOS all ship a reader. You need Adobe Acrobat Reader for PDF about as much as you need it for JPEG.

10 What opens a PDF file? A short section, because the answer is almost everything

This was the hard part in 1995 and it stopped being a question years ago. Software that cannot display PDF is now the unusual case.

Your browser Already installed Chrome, Edge, Firefox and Safari all render PDF without an add-on. Drag the file onto any browser tab and it opens.
Your operating system Already installed Preview on macOS, the Windows built-in reader, Files on iOS and Android. Nothing to download on any of them.
Linux, despite what you may have read Already installed Evince on GNOME and Okular on KDE ship with the desktop. Linux has rendered PDF since the 1990s, through Xpdf and later Poppler.
Adobe Acrobat Reader Free Still the reference implementation. Free to view, print, comment, fill forms and sign. Useful when forms misbehave inside browsers.
Adobe Acrobat Pro Paid Only needed to change page content, run OCR, redact or edit at a level readers do not offer. Viewing has never required it.

Two claims on the old version of this page were simply false, and both are repeated across the web. PDF is not unsupported on Linux, and Acrobat Reader is not paid.

Reader is free and always has been. Acrobat Pro is the paid product, and it is an editor. Confusing the two sells people software they do not need.

Creating a PDF is just as ordinary. Word, Excel, Google Docs, LibreOffice and macOS all export one from a Print dialog. Vector tools go further and treat PDF as a native container.

That is why a CorelDRAW vector drawing and a Photoshop document both export a PDF that a printer accepts without conversion.

An Adobe Illustrator AI file has been a PDF underneath since Illustrator 9, which is why some of them open straight in a PDF reader. Photoshop PSD files can be saved the same way.

A PDF that will not open is usually a download that stopped early. Because a reader starts at the end of the file and works backwards, a missing tail leaves it with nothing to follow. Download it again first.

11 When a PDF will not open What the message means, and what to try in what order

Readers are vague about this on purpose. The file is damaged or could not be repaired covers a dozen different faults, and the wording gives you nothing to act on.

People call these corrupt PDF files. Usually nothing is corrupt. Bytes are missing, and the reader has no way to say so politely.

What sits behind the common PDF failures, and where to start.
What you seeWhat it usually meansStart with
Damaged or could not be repairedThe file is missing its tail, so the index is goneDownload it again
Blank or grey pagesPage content is there, fonts or images are notA different reader
A password box you did not expectA user password was set on itAsk the sender
Opens, but every character is garbageBroken or missing font encodingAsk for a re-export
Not a PDF at allSomething renamed, or an email attachment that arrived wrongCheck line one in a text editor

Work down this list, not up it

Every step here is free, and the first two settle the majority. Repair software belongs at the bottom, not the top.

1 Check the size against the source. Files that should be 4 MB and arrived at 900 KB stopped early, and no repair tool invents the missing bytes.
2 Download it again, from the original link rather than from your inbox. This alone fixes most of these.
3 Open it in a different reader. Browsers and desktop readers disagree surprisingly often, and one of them may manage it.
4 Confirm it really is PDF. Open it in Notepad and look for %PDF- on line one. Renamed files give themselves away here.
5 Ask the sender to save a fresh copy rather than forwarding the same one. Files damaged on their machine stay damaged on yours.
6 Only now consider a repair tool, and only on a copy. Recovery works by scanning for objects and rebuilding the index, so it returns pages, not the original file.

No repair tool can recover data that never reached your computer. Pages advertising recovery for a truncated download are selling you a scan of the bytes you already have.

Work out whether the file is incomplete or merely malformed before paying for anything. The size check in step 1 answers that in ten seconds.

One more cause worth naming. PDF can carry attached files and JavaScript, and RFC 8118 warns that readers must run any of it in a protected environment.

Modern readers sandbox by default and often block scripts outright. So any PDF asking for permission to run something, from a sender you do not recognize, is the moment to stop.

Frequently asked questions about PDF files

What is a PDF file?
A PDF file is a page-for-page snapshot of your document. It carries text, fonts, images and the exact position of every one of them. Pages then land the same way on any computer that opens them. PDF stands for Portable Document Format.
What does PDF stand for?
PDF stands for Portable Document Format. Not Portable Document File, which is the common misquote you will see everywhere. Adobe's own wording is that PDF is an abbreviation that stands for Portable Document Format.
Who owns the PDF format?
Nobody owns it now. Adobe created PDF and published the specification from 1993 to 2007. In 2008 it became an ISO standard called ISO 32000, and a committee has maintained it since. The current edition is ISO 32000-2:2020, and it is a free download.
What is inside a PDF file?
Four parts in a fixed order. A header naming the version, then a body holding numbered objects for every page element. After that a cross-reference table listing where every object sits, then a trailer closing with %%EOF.
How do I find out what PDF version a file is?
Open the file in any text editor and look at the first line. It reads %PDF- followed by the version number, so %PDF-1.7 or %PDF-2.0. You can also open File and then Properties in most PDF readers, where it appears under PDF Version.
What is the difference between PDF and PDF/A?
PDF/A is PDF with rules. It is the subset defined in ISO 19005 for long-term archiving, and it bans anything that might stop the file rendering in thirty years. Fonts must be embedded and colors must be device-independent. JavaScript and external links are out.
Does a PDF look the same on every computer?
Only when the fonts travelled with it. Embedding fonts is optional in ordinary PDF, so files built without them ask your computer for substitutes and the layout can shift. PDF/A, PDF/X and PDF/E all require embedded fonts, which is why they exist.
Why can I not select the text in my PDF?
Because there is no text in it. Scanned pages are photographs, and photographs of words are not words. Running OCR on the file adds an invisible text layer over the image, and after that the words are selectable and searchable.
What is the difference between the two PDF passwords?
One is security and one is a request. The user password encrypts the file, so without it there is nothing to read. The owner password sets permission flags that the reader is asked to honour, and free tools strip it in seconds.
Why is my PDF file so large?
Images, almost always. Text compresses to very little, while pages scanned at 600 dpi are photographs and behave like them. Embedded fonts add to it, and so does every revision, because saving a change can append to the file instead of rewriting it.
Why will my PDF file not open?
The usual reason is a download that stopped early. PDF is read from its cross-reference table backwards, so files missing their last bytes have nothing to work from. Download it again before you reach for any repair tool.
Can Linux open PDF files?
Yes, and it has for decades. Most Linux desktops ship a PDF reader already installed, Evince on GNOME and Okular on KDE. Every major browser renders PDF with no extra software at all. The same is true on macOS, Windows, Android and iOS.

Still stuck with a PDF file?

Two questions sort out most of what is left. Answer them in order.

Is it complete?

Compare the size to the source. Anything that arrived short stopped mid-transfer, and section 11 says why that leaves readers with nothing to work from.

Is it a scan?

Try to select one word. If nothing highlights, the page is a photograph and section 7 explains what OCR changes about that.

Tracing where this format came from? PostScript files are its direct ancestor, and the EPS format came out of the same printing language.

Working with design files that export to PDF? Illustrator AI artwork writes a PDF-compatible file by default, and CorelDRAW CDR drawings export one on request.

New to all of this? What a file format is covers the ground underneath, and our file format guides list the rest.

Found something here that does not match your version? Send us the exact wording on screen and we will check it against the standard.

Was this page helpful? Thanks for your feedback!