Uttir
By Uttir 6 min read

What Is a PDF File and How Does It Work?

A PDF (Portable Document Format) is a file format that preserves the exact appearance of a document across every device and operating system. This guide covers how it works, when to use it, and how to work with PDFs without uploading them to a server.

A PDF is a file format that preserves the exact visual appearance of a document — fonts, layout, images, and colors — independent of the device, operating system, or software used to view it. Invented by Adobe in 1992, standardized as ISO 32000 since 2008, and now one of the most-used file formats in the world. The Uttir PDF tools (merge, split, compress, convert) work entirely in your browser — your files never leave your device.

PDF is the most-used document format in the world. Every contract, every invoice, every e-book, every scan, every government form is a PDF. The promise of the format is simple: a PDF looks the same everywhere. Open the same file in Chrome on a Mac, in Acrobat on Windows, in Preview on iPhone, and you get the same layout, the same fonts, the same images, the same colors. This guide covers how it works, when to use it, and how to work with PDFs without uploading them to a server.

The history

PDF was invented by Adobe in 1992. The original goal was a "Portable Document Format" — a file that would look the same on any computer, regardless of the fonts installed or the operating system. Before PDF, the dominant formats were PostScript (Adobe, but designed for printing) and the various word processor formats (Word, WordPerfect, etc.), which all depended on having the right fonts and the right software.

PDF was based on PostScript but stripped down: no programming language, just static content. Adobe released the PDF specification to the public in 1993, and the format spread quickly. In 2008, PDF became an ISO standard (ISO 32000-1), cementing its place as the universal document format.

How a PDF file is structured

A PDF is a binary file with four sections:

  1. Header — the first line, identifying the PDF version. e.g. %PDF-1.7
  2. Body — the actual content: text, fonts, images, and drawing instructions
  3. Cross-reference table — an index of every object in the file, so the reader can find any part quickly
  4. Trailer — a pointer to the cross-reference table, so the reader knows where to start

The body is a sequence of objects. Common object types:

  • Text strings (in PostScript encoding, with optional Unicode)
  • Fonts (embedded in the file, so the document is self-contained)
  • Images (JPEG, PNG, or other formats)
  • Paths (vector drawing instructions: lines, curves, fills, strokes)
  • Annotations (links, form fields, comments)

Every visual element in a PDF — text, shape, image, table — is a path or a raster image rendered at a specific position on a specific page. The reader does not need to interpret a programming language or a layout engine. It just plays back the drawing instructions.

Why PDF looks the same everywhere

The key: every font used in the document is embedded in the file. When you create a PDF, the font files (or subsets of them) are copied into the PDF. The reader never has to ask the operating system for a font; it already has everything it needs.

This is also why PDFs can be large. A 50-page report with embedded fonts can easily be 5-10 MB. The fonts are the bulk of the size. The image data adds more. The text and structure are tiny by comparison.

Text in a PDF

Text in a PDF is not always what it seems. There are two modes:

Real text

The PDF contains actual Unicode text strings with position and font information. You can select the text, copy it, and search it. This is the mode used for documents created from word processors, typesetting software, or most modern PDF generators.

Rasterized text

The text is converted to a path or an image, so the PDF contains pixels, not characters. You cannot select the text or search it. This is the mode used by scanned documents, screenshots, and any PDF created from an image. Tools that do OCR (optical character recognition) on PDFs are reading the pixels and trying to recover the text.

The distinction matters. A "PDF" of a scanned document is not searchable, not selectable, and not accessible. A "PDF" of a Word document is. If you need to make a scanned PDF searchable, run it through an OCR step (Tesseract, Adobe Acrobat, Apple Preview, etc.) before sharing.

PDF forms

PDFs can contain interactive form fields: text inputs, checkboxes, radio buttons, dropdowns, and signature fields. The reader fills in the form and saves the PDF. The fields are stored as annotations with their values.

PDF forms are the standard for government filings, legal documents, and many business workflows. They are reliable across devices but limited in interactivity: no JavaScript beyond a sandboxed subset, no live validation, no API access. For modern web-based forms, an HTML form is usually a better choice; PDF forms are the right answer when the recipient needs a printed or signed document.

PDF security

PDFs support several security features:

  • Password protection — the user must enter a password to open the file.
  • Permissions — restrict printing, copying, or editing. (Note: these are easy to bypass; they are not real security, just a polite request.)
  • Digital signatures — PKCS#7 signatures embedded in the PDF. Cryptographically strong; the recipient can verify the signature is from the claimed signer and the document has not been modified since signing.

The permissions are not security. Any PDF reader that can open the file can extract the text. Passwords are real security — a PDF encrypted with a strong password (AES-256) is computationally infeasible to crack. Digital signatures are the right tool for verifying a document's authenticity.

When to use PDF vs other formats

PDF is the right choice for:

  • Documents that need to look the same everywhere — contracts, reports, invoices, manuals, brochures.
  • Print-ready files — PDF/X is the standard for commercial printing.
  • Forms to be filled and signed — government filings, applications, agreements.
  • Long-form archival — PDF/A is the standard for archival documents. Used by libraries, courts, and government agencies.

PDF is the wrong choice for:

  • Web content — HTML is better for screen reading, accessibility, and SEO.
  • Editable documents — DOCX, ODT, or Google Docs is better when the recipient needs to edit.
  • Data — JSON, CSV, or Excel is better for structured data.
  • Long-form reading on mobile — EPUB or a web-based format reflows better than a fixed-layout PDF.

Common PDF tasks

The five operations cover ~90% of PDF work:

  • Merge — combine multiple PDFs into one. The Uttir PDF Merge tool does this in your browser.
  • Split — split one PDF into multiple. The Uttir PDF Split tool.
  • Compress — reduce file size by re-encoding images and removing redundant data. The Uttir PDF Compressor tool.
  • Convert to images — render each page as a JPG or PNG. The Uttir PDF to JPG tool.
  • Convert from images — combine multiple images into one PDF. The Uttir JPG to PDF tool.

All of these run in your browser. The PDF is read, processed, and written locally. It never leaves your device.

Why "no upload" matters for PDFs

PDFs often contain sensitive information: contracts, financial statements, tax returns, medical records, legal documents. The privacy promise of "everything runs in your browser" is the right model for these. You do not have to trust a third-party service to delete the file after processing. You do not have to worry about the service being breached. The file is yours from start to finish.

This is the entire reason the Uttir PDF tools are client-side. The convenience of "drag, drop, get result" is a nice bonus, but the privacy is the point.

Common pitfalls

Scanned PDFs are not searchable

A scanned document is a PDF containing a page-sized image. You cannot select the text, search for words, or copy content. If you need a searchable PDF, run it through OCR. Adobe Acrobat, Apple Preview, and free tools like OCRmyPDF all do this well.

PDFs do not reflow

A PDF is a fixed-layout format. The text is positioned at specific coordinates. On a phone, you zoom and pan; you cannot resize the text to fit the screen. For long-form reading, EPUB or HTML is a much better format.

Permissions are not security

PDF "owner" passwords and "no copy" settings are not security. They are honored by compliant readers and bypassed by non-compliant ones. If you need real security, encrypt the PDF with a strong password or use a dedicated file-encryption tool.

PDFs are not good for data

If your "PDF" is actually a table of data (financial report, customer list, inventory), PDF is the wrong format. Export as CSV or Excel instead. The data is then readable, sortable, and usable in other tools.

Bottom line

PDF is the universal document format: looks the same everywhere, embeds its own fonts, supports forms and signatures, and is the standard for archival and print. For everyday PDF work — merge, split, compress, convert — the Uttir PDF tools do the job in your browser. Your files never leave your device.

#pdf#file-formats#documents#how-it-works#developer-tools

New tools and guides, once a week

One short email when something new ships. No tracking, no images, unsubscribe with one click.