PDF Basics

What Is a PDF File? A Complete Beginner's Guide

What a PDF file is and what's inside it: embedded fonts, images and the text layer, why it looks the same on every device, and when it isn't the right format.

What Is a PDF File? A Complete Beginner's Guide

An electricity bill, a university transcript, a rental contract, the form a government office asks you to fill in: most of the documents that matter in daily life now arrive as PDF files. Usually we don't think about the format until something goes wrong: the text can't be copied, the file is too large for a portal, or a "simple" correction proves anything but simple.

This guide explains what a PDF actually is, what's inside one, why it behaves the way it does, and what that means in practice when you need to open, create, or change one.

Quick answer

PDF stands for Portable Document Format. It is a file format created by Adobe in 1993 and published as an open ISO standard in 2008. A PDF describes each page precisely: where every character, line, and image sits, and which fonts to use. That is why it looks the same on a phone, a laptop, or a printer. The trade-off is that a PDF is designed for presenting a finished document, not for editing it.

What a PDF is and what the name means

The three words in "Portable Document Format" describe the format's purpose quite well:

A useful way to think about a PDF is as a "digital printout". When you export a report from Word or a spreadsheet to PDF, you freeze it the way it would look on paper. The result is reliable to share and print, but much like a printed sheet, it isn't meant to be rewritten. If you want to understand where exactly the line falls between a PDF and an editable Word file, we cover that in PDF vs DOCX.

A short history

In the early 1990s, sending a document to someone else was unreliable. The recipient needed the same program, the same version, and often the same fonts, or the layout would break. Adobe, whose PostScript language already described printed pages precisely, worked on a format that could carry a page's exact appearance inside a single file. The result was PDF, released in 1993 together with the first version of Acrobat.

Adobe published the specification so other developers could write their own readers and creators, which helped the format spread well beyond Adobe's own products. In 2008, PDF became an international open standard, ISO 32000-1, which meant no single company controlled its future. The next major version, PDF 2.0 (ISO 32000-2), was published in 2017.

In practice, this means PDF is not a proprietary format that might disappear: many free programs, including every major web browser, can open it.

What's inside a PDF file

A PDF is not a single picture of a page. It is a structured container of objects, and each type of object behaves differently. Knowing these parts explains most "why can't I…" questions.

Text and embedded fonts

In a PDF made from a word processor, text is stored as actual characters with instructions like "draw these letters, in this font, at this exact position". To make sure the letters look right on a computer that doesn't have that font installed, the file usually embeds the font, or at least the subset of characters the document uses. This matters a lot for Arabic: if the font is embedded correctly, the letters connect and display properly everywhere. If it isn't, the reader may substitute another font and the text may look wrong.

Vector graphics

Lines, shapes, charts, and logos are often stored as vector drawings, meaning mathematical descriptions rather than pixels. They stay sharp at any zoom level and take up little space.

Images

Photos and scanned pages are stored as raster images, usually compressed with JPEG or a similar method. Images are usually what makes a PDF large: a 20-page text report may be a few hundred kilobytes, while a 20-page scan can reach several megabytes. Why that happens and what can be done about it is the subject of What is PDF compression.

Metadata

A PDF can carry information about itself: title, author, subject, the program that produced it, and creation date. This is often filled in automatically, sometimes with things you didn't intend to share, such as your account name as "author". You can see what a file contains with the PDF Info tool, which shows the page count, title, author, subject, creation date, producer, and file size.

Optional layers of functionality

Text layer vs scanned image

This is the most important distinction to understand. Two PDFs can look identical on screen, yet one is made of real text and the other is just a photograph of text. Try selecting a word with your mouse: if a line highlights and you can copy it, the file has a text layer. If the whole page highlights as a single block, or nothing happens, you are looking at a scanned image. A scanned PDF can't be searched, copied, or converted to editable text until it goes through OCR (optical character recognition), which we explain in What is OCR.

Why a PDF looks the same everywhere

A Word document stores content and leaves part of the layout to the program that opens it. A different version of Word, a missing font, or a different default paper size can push a paragraph onto the next page or shift a table. A PDF works the other way around: the layout has already been calculated and recorded. The file says, in effect, "this character goes at this position on a page of this size". The reader only has to draw what it's told.

Three things make this reliable:

  1. Fixed page geometry: each page has a defined size (A4, Letter, or any custom size) and every element has fixed coordinates.
  2. Embedded resources: fonts and images travel inside the file instead of being looked up on the reader's computer.
  3. A shared standard: readers follow the same specification, so they interpret the instructions in the same way.

"The same everywhere" has limits, though. Colors can look slightly different from one screen to another, a badly made PDF without embedded fonts can still display incorrectly, and on a small phone screen you will be zooming and scrolling because the page doesn't reflow to fit like a web page does.

PDF variants worth knowing

Over the years, the standard gained specialized profiles. You will see these names in official requirements:

PDF or image: which to use

People often send a photo (JPG or PNG) when a PDF would serve better, and sometimes the reverse:

SituationBetter choiceWhy
A multi-page document (contract, certificate with several pages)PDFOne file, pages in order, easy to print
A document with text that should remain readable when zoomedPDFReal text and vectors stay sharp
A single photo to post or view in a gallery or chatJPGOpens instantly everywhere, good compression for photos
A screenshot, diagram, or logo with sharp edgesPNGLossless, no blurry edges around text
An upload portal that says "PDF only"PDFConvert your photos rather than renaming the file

If you have photos of a document on your phone, JPG to PDF combines them into a single PDF in the order you choose. Keep in mind that the result is still a set of images inside a PDF: it will look right, but the text won't be searchable without OCR.

Opening, creating, and editing PDFs in practice

Opening

You almost certainly don't need to install anything. Chrome, Edge, Firefox, and Safari all open PDFs directly, and phones have a built-in viewer through the file manager or browser. A dedicated reader becomes useful when you work with forms, annotations, or certificate-based signatures, since browser viewers vary in how well they support these.

Creating

Editing

Editing is where the PDF's nature shows. Because the text is positioned character by character rather than flowing in paragraphs, changing a sentence can disrupt everything after it on the line. In practice:

SmokePDF's tools run inside your browser, so the files aren't uploaded to a server. If you're curious how that's possible, see How browser PDF processing works.

Limitations to keep in mind

Frequently asked questions

Is PDF owned by Adobe?

Adobe created the format, but since 2008 it has been an ISO standard that anyone can implement without paying. That's why so many free readers and tools exist, from web browsers to open-source programs. Adobe Acrobat is one PDF program among many, not a requirement.

How can I tell which PDF version a file uses, and does it matter?

The version is written in the first line of the file and is shown in the document properties of most desktop readers. For ordinary reading it rarely matters, because modern readers handle all common versions. It becomes relevant when a portal or archive explicitly asks for a version or for PDF/A.

Why does the Arabic text in my PDF appear as broken or disconnected letters when I copy it?

The page can display correctly while the underlying text is stored in a way that makes copying unreliable, especially with older tools or fonts that weren't embedded well. The letters are drawn correctly, but the mapping back to characters is incomplete. Exporting again from the original document with a modern program usually fixes it.

Can a PDF contain a virus?

A PDF can contain links, embedded files, and, in some readers, JavaScript, which attackers have used in the past. Keep your browser or reader updated, be cautious with unexpected attachments, and don't enable features or click links in a PDF from a source you don't trust.

Is a PDF suitable for long-term storage of important documents?

Generally yes, and PDF/A was designed specifically for that purpose. For personal records, make sure the file has embedded fonts, avoid passwords you might forget, and keep a backup copy. For scans, a moderate resolution keeps text legible without making the file unnecessarily large.

The bottom line

A PDF is a fixed, self-contained description of pages: text with its fonts, vector drawings, images, and optional extras such as links, forms, and signatures. That design is why it looks the same everywhere and why it has been an open standard since 2008, and it's also why editing is awkward and why scanned pages need OCR before you can search them. Use PDF for finished documents you need to share, print, or submit, and keep the original source file for anything you might need to change later.

Abdelilah Barbach

Abdelilah Barbach

Founder & Technical Content Editor

Abdelilah Barbach is the founder of SmokePDF and builds its browser-based PDF tools. He writes practical guides on compressing, converting, merging and protecting PDF files, based on how the site's own tools work and on testing them with real documents. He writes in Arabic and English.