The Complete Guide to PDF Editing, Merging, and Conversion
The definitive guide to working with PDFs in 2026 — editing, merging, splitting, compressing, converting, securing, and extracting text. Learn how the PDF format works, how to handle every common PDF task, and how browser-based tools make PDF processing private and accessible.
Published May 13, 2026 · Updated May 13, 2026
The PDF is the most important document format in the world. Created by Adobe in 1993 and now an open ISO standard, PDF has become the universal format for documents that need to look the same everywhere — contracts, invoices, reports, forms, manuals, academic papers, government filings, and virtually every official document you encounter. Over 2.5 trillion PDFs exist worldwide, and billions more are created every year.
Despite this ubiquity, most people have a frustrating relationship with PDFs. They know how to open and read a PDF, but when they need to merge two PDFs, extract specific pages, compress a large PDF for email, convert a PDF to images, or add password protection, they reach for whatever tool Google suggests first — often a cloud-based service that uploads their document to an unknown server.
This guide covers everything you need to know about working with PDFs in 2026. From understanding what is actually inside a PDF file to mastering every common PDF task — editing, merging, splitting, compressing, converting, securing, and extracting text. We will cover the tools available, the privacy implications of different approaches, and the practical workflows that make PDF handling efficient.
What Is Inside a PDF File
Understanding the internal structure of a PDF helps you understand why certain operations are easy, others are difficult, and some are impossible without specialized tools.
A PDF file is fundamentally a description of how to render pages visually. Unlike a Word document, which stores structured content (paragraphs, styles, tables) that the viewing software interprets and lays out, a PDF stores precise instructions for where to place text, images, and graphics on each page. Every character has explicit coordinates. Every image has explicit dimensions and position.
The Building Blocks
Pages — A PDF contains one or more page objects, each defining the page dimensions and referencing the content streams that describe what appears on that page.
Content streams — These contain the rendering instructions: draw text at these coordinates using this font, place this image at this position, draw a line from here to there. Content streams use a simple postfix notation language (similar to PostScript).
Fonts — PDFs embed font data (or reference system fonts) for every typeface used in the document. Full font embedding ensures the document looks identical on any system. Font subsetting embeds only the characters actually used, reducing file size.
Images — Photographs, graphics, and scanned page images are embedded in the PDF as compressed image streams. The compression format (JPEG, JPEG2000, CCITT fax, Flate/ZIP) affects both file size and quality. Images are the primary contributor to PDF file size — a PDF with high-resolution photographs can be enormous.
Metadata — The document information dictionary contains title, author, subject, keywords, creation date, modification date, and the software that created the PDF. Additional metadata can be stored as XMP (Extensible Metadata Platform) data.
Cross-reference table — An index that maps each object in the PDF to its byte offset in the file. This enables random access — a PDF viewer can jump directly to any page without reading the entire file.
Annotations and forms — Interactive elements like form fields, comments, highlights, and hyperlinks are stored as annotation objects associated with specific pages.
Why PDF Editing Is Hard
The structure of PDF makes certain operations that feel simple conceptually quite difficult technically.
Text editing is hard because PDF text is not stored as flowing paragraphs. Each text element has explicit position coordinates. Changing a word can mean repositioning every subsequent text element on the page. Adding a paragraph can mean reflowing the entire page — something the PDF format was not designed to support.
Reordering pages is easy because each page is an independent object. Rearranging page references in the page tree is a lightweight operation.
Merging PDFs is moderately complex because fonts, images, and other shared resources from both documents must be reconciled. Two PDFs that use the same font may embed different subsets, which need to be merged or deduplicated.
Compression is straightforward — re-encode embedded images at lower quality or resolution, remove duplicate objects, subset fonts, and strip unused resources.
Editing PDFs
PDF editing ranges from simple operations (adding text annotations, filling form fields) to complex ones (modifying existing text, restructuring page layouts).
Adding and Annotating
The simplest form of PDF editing is adding new content on top of existing content: text boxes, shapes, highlights, stamps, signatures, and comments. These are stored as annotations overlaid on the page content, leaving the original content untouched.
Most PDF viewers — including browser-based viewers, Preview on macOS, and Acrobat Reader — support basic annotation. Browser-based tools like Fileza.io's PDF tools provide annotation capabilities that run locally, ensuring your document is never uploaded to a server.
Form Filling
PDF forms contain interactive fields — text inputs, checkboxes, radio buttons, dropdown menus — that can be filled without modifying the page layout. Filling forms is one of the most common PDF tasks and is well-supported across tools.
Flat forms — forms where the fields have been "flattened" into the page content — cannot be filled interactively. They look like forms but are actually just images of forms. These require either OCR-based field detection or manual annotation to "fill."
Text Modification
Modifying existing text in a PDF — changing words, correcting typos, updating dates — requires tools that can parse the content streams, identify text objects, modify them, and recalculate positioning. This is a complex operation that dedicated PDF editors (Adobe Acrobat Pro, Foxit Editor, PDF-XChange Editor) handle well for simple changes.
For extensive text modifications, it is often more practical to convert the PDF back to a Word document, make changes there, and export back to PDF. The conversion may not perfectly preserve complex layouts, but for text-heavy documents, it is efficient.
For guidance on converting between document formats, see our Document Conversion Guide.
Merging PDFs
Merging — combining multiple PDF files into a single document — is one of the most common PDF operations. Combining scanned pages, assembling a report from sections, or packaging related documents for a single deliverable all require PDF merging.
How Merging Works
At a structural level, merging PDFs involves:
- Reading the page trees from all input PDFs
- Creating a new combined page tree that references all pages in the desired order
- Merging shared resources (fonts, images, color profiles) and resolving conflicts
- Rebuilding the cross-reference table for the combined document
- Preserving (or optionally discarding) bookmarks, links, and form fields
Practical Considerations
Page order — Most merge tools let you specify the order of input files, and some let you reorder individual pages after loading.
File size — The merged PDF may be larger than the sum of its parts (due to resource duplication) or smaller (if the merge tool deduplicates shared resources like common fonts).
Bookmarks and links — Internal bookmarks and page links may break during merging if the tool does not update page references. Good merge tools preserve and update these references.
Form fields — If multiple input PDFs contain forms with the same field names, conflicts can arise. The merge tool must either rename conflicting fields or merge them.
Browser-based merge tools process everything locally — you drag and drop your PDFs, arrange the order, and the merge happens on your device. For confidential documents (contracts, medical records, legal filings), this local processing is critical.
Splitting PDFs
Splitting is the inverse of merging — extracting specific pages from a PDF into separate files. Common scenarios: extracting a single page from a multi-page document, splitting a combined scan into individual documents, or breaking a large document into chapters.
Split Modes
Extract specific pages — Select individual pages or page ranges (pages 3-7, page 12, pages 20-25) and extract them into one or more new PDFs.
Split at intervals — Split a document into chunks of a specified size (every 5 pages, every 10 pages).
Split by bookmarks — If the PDF has a bookmark structure (table of contents), split at each top-level bookmark to create one PDF per chapter or section.
Remove pages — The inverse of extraction — remove specific pages and save the remainder.
Reordering Pages
Page reordering lets you rearrange the sequence of pages within a PDF. This is useful for fixing scanning errors (pages scanned out of order), reorganizing a document's structure, or moving an appendix.
Browser-based tools typically provide a visual interface where each page appears as a thumbnail that you can drag into the desired position. The reordering operation is lightweight — it modifies the page tree structure without re-encoding any page content.
Compressing PDFs
PDF compression reduces file size, which is essential for email attachments (many providers cap at 10-25 MB), web publishing, and storage efficiency. The compression strategies:
Image Recompression
Images are the primary contributor to PDF file size. A PDF containing high-resolution photographs or scanned pages can be dramatically reduced by recompressing embedded images:
- Reduce image resolution — A scanned document at 600 DPI often looks fine at 200-300 DPI. Reducing resolution can cut image data by 75%.
- Increase JPEG compression — Re-encoding images with lower JPEG quality (from quality 95 to quality 75, for example) significantly reduces size with minimal visible quality loss at document scale.
- Convert lossless to lossy — Images stored as lossless PNG or TIFF within the PDF can be converted to JPEG for substantial savings when lossless quality is not required.
Font Subsetting
If a PDF embeds full fonts (all glyphs), subsetting — reducing each font to only the characters actually used in the document — can save significant space, especially for documents that use decorative fonts with large glyph sets.
Resource Deduplication
PDFs created by concatenating other PDFs often contain duplicate resources — the same font embedded multiple times, identical images referenced from multiple pages. Deduplication identifies and merges these duplicates.
Metadata Stripping
Removing unnecessary metadata, embedded thumbnails, and unused objects reduces file size. This also has privacy benefits — removing author names, creation software, and editing history.
For comprehensive strategies on reducing file sizes across all formats, see our File Size Reduction Guide.
Converting PDFs
PDF to Images
Converting PDF pages to images (JPEG or PNG) is useful for embedding PDF content in presentations, social media, or web pages where PDF embedding is not supported.
Resolution matters. PDF pages are vector-based (or contain vector elements) and can be rendered at any resolution. Standard screen resolution is 72-96 DPI. Print-quality rendering requires 300 DPI. High-quality archival rendering may use 600 DPI. Higher DPI means larger image files but sharper rendering.
Format choice: JPEG for photographs and scanned documents (smaller files, lossy compression). PNG for text-heavy documents and graphics (lossless, preserves sharp text edges).
Images to PDF
Converting images to PDF packages one or more images into a PDF document. This is common for creating document packages from scanned images, assembling photo portfolios, or converting image-based content into a printable format.
Page sizing: Should each image fill a standard page (A4, Letter)? Should the page size match the image dimensions? Should images be scaled to fit while preserving aspect ratio? Good conversion tools give you these options.
Multi-image documents: When converting multiple images, you can combine them into a single multi-page PDF or create separate single-page PDFs.
PDF to Text
Extracting text from a PDF depends on how the text is stored:
Text-based PDFs — PDFs created from word processors, web pages, or typesetting software contain actual text data in their content streams. Extracting text is straightforward — the text characters and their properties can be read directly from the PDF structure.
Scanned PDFs — PDFs created by scanning paper documents contain images of pages, not text data. The "text" on the page is just pixels in a photograph. Extracting text from these PDFs requires OCR (Optical Character Recognition).
OCR: Making Scanned PDFs Searchable
OCR analyzes the visual content of a scanned page and identifies text characters. Modern OCR engines — Tesseract (open-source), ABBYY (commercial), Google's Cloud Vision, Apple's Vision framework — achieve over 99% accuracy on clean, high-resolution scans of printed text.
The OCR process:
- Image preprocessing — straightening skewed pages, enhancing contrast, removing noise
- Text detection — identifying regions of the page that contain text
- Character recognition — identifying individual characters within text regions
- Post-processing — applying language models to correct recognition errors
The recognized text can be added as an invisible layer behind the scanned image, creating a "searchable PDF" that looks identical to the original scan but allows text selection, copy-paste, and full-text search.
Browser-based OCR using Tesseract.js runs entirely in your browser. The scanned document is never uploaded to a server — the text recognition happens locally on your device.
PDF to Word / Word to PDF
Converting between PDF and Word formats is common in business workflows. The challenge is fundamental: PDF is a fixed-layout format (precise positioning of every element) while Word is a flow-layout format (content reflows based on page size, margins, and styles).
PDF to Word — The conversion tool must reverse-engineer the PDF layout into Word paragraphs, styles, tables, and images. Simple text-heavy PDFs convert well. Complex layouts with multiple columns, overlapping elements, and intricate formatting may lose accuracy.
Word to PDF — This is a more straightforward operation because the conversion goes from structured content to fixed layout. Word, LibreOffice, and Google Docs all export to PDF natively.
Securing PDFs
PDF Encryption
The PDF specification supports two types of password protection:
User password (document open password) — Required to open and view the document. Without this password, the PDF cannot be read at all.
Owner password (permissions password) — Controls what operations are permitted on the document: printing, copying text, editing, form filling, extracting pages, commenting. The document can be opened without the owner password, but restricted operations are blocked.
PDF encryption uses standard algorithms (AES-128 or AES-256 in modern PDFs). The encryption is applied to the document content — text streams, images, and other resources — not just the file structure.
Important caveat: PDF permission restrictions (no-print, no-copy) rely on the viewing software to enforce them. Dedicated tools can bypass these restrictions. The user password (document open password) provides genuine cryptographic protection — without the password, the content is encrypted and inaccessible. The owner password (permissions restrictions) is more of a speed bump than a security barrier.
Digital Signatures
PDF digital signatures provide cryptographic proof that a document has not been modified since it was signed and that the signer's identity has been verified through a certificate authority. Digital signatures are legally binding in most jurisdictions and are the standard for electronic contract signing, government filings, and regulated document workflows.
Redaction
Redaction permanently removes sensitive content from a PDF. True redaction replaces the content with black boxes and removes the underlying text data from the file structure. Simply placing a black rectangle over sensitive text is NOT redaction — the text remains in the file and can be extracted by anyone.
Proper redaction tools (Adobe Acrobat Pro, specialized redaction software) remove the actual content data. If you need to redact sensitive information from a PDF, verify that your tool performs genuine redaction, not just visual masking.
Batch PDF Processing
For high-volume PDF workflows — processing hundreds of invoices, merging dozens of reports, compressing a library of documents — batch processing is essential.
Common Batch Operations
Batch merge — Combine a folder of PDFs into a single document in a specified order (alphabetical, numerical, custom).
Batch split — Split a large PDF into individual pages or page ranges, naming each output file systematically.
Batch compress — Apply the same compression settings to all PDFs in a folder.
Batch convert — Convert all PDFs in a folder to images (or all images in a folder to PDFs) with consistent settings.
Batch watermark — Apply a watermark (text or image) to every page of every PDF in a set.
Automation Approaches
Browser-based tools handle batch operations for moderate volumes. Drag and drop multiple files, configure settings, and process them all locally.
Command-line tools like qpdf, pdftk, Ghostscript, and ImageMagick provide scriptable PDF operations for high-volume automated workflows.
Programming libraries like pdf-lib (JavaScript), PyPDF2 (Python), and iText (Java) enable custom PDF processing applications.
PDF Tools in 2026: The Landscape
Browser-Based (Fileza.io)
Browser-based PDF tools process everything locally on your device. Merge, split, compress, convert, and annotate PDFs without uploading them to a server. This is the privacy-preserving choice for confidential documents.
Fileza.io's PDF tools use pdf-lib and pdfjs-dist — the same libraries that power Mozilla's PDF viewer — running entirely in your browser via WebAssembly and JavaScript.
Desktop Applications
Adobe Acrobat Pro — The most comprehensive PDF tool available. Full editing, forms, signatures, redaction, OCR, accessibility, and every other PDF feature. Subscription pricing ($22.99/month).
Foxit PDF Editor — A strong alternative to Acrobat with similar features at lower cost. Good collaboration features and cloud integration.
PDF-XChange Editor — Windows-only, feature-rich, with a generous free tier. Excellent performance and a smaller footprint than Acrobat.
Preview (macOS) — Apple's built-in PDF viewer handles annotation, page reordering, merging (drag pages between windows), and basic editing. Free and capable for common tasks.
Cloud Services
Cloud-based PDF tools offer convenience but upload your documents to remote servers. For non-sensitive documents, this is a reasonable tradeoff. For contracts, medical records, legal documents, financial statements, or any document containing personal data, the privacy implications are significant. Consider the sensitivity of your content before choosing a cloud-based tool.
Common PDF Problems and Solutions
The PDF Is Too Large for Email
Solution: Compress the PDF by recompressing images, subsetting fonts, and removing unnecessary metadata. A PDF with high-resolution scans can often be reduced by 50-80% with minimal quality loss at screen viewing sizes.
The PDF Is a Scanned Image and Text Cannot Be Selected
Solution: Run OCR to add a searchable text layer behind the scanned images. This makes the text selectable and searchable while preserving the visual appearance of the scanned pages.
Pages Are in the Wrong Order
Solution: Use a page reordering tool to drag pages into the correct sequence. This is a lightweight operation that does not re-encode any content.
Two PDFs Need to Be Combined
Solution: Use a merge tool to combine them. Specify the order, and the tool will create a single document containing all pages from both sources.
The PDF Needs to Be Viewed on a Device That Does Not Support PDF
Solution: Convert the PDF to images (JPEG or PNG). Each page becomes a separate image file that can be viewed on any device.
The PDF Contains Sensitive Metadata
Solution: Strip metadata during compression or conversion. Remove author names, creation dates, editing history, and software information before sharing.
The Future of PDF
The PDF format continues to evolve. PDF 2.0 (ISO 32000-2:2020) introduces improvements including better encryption, enhanced accessibility, richer interactive features, and improved support for geospatial data and 3D content.
Accessibility is an increasingly important dimension of PDF quality. Screen readers, assistive technologies, and automated accessibility checkers require PDFs to include proper tagging — a structural description of the document's logical content (headings, paragraphs, tables, lists, images with alt text) that parallels the visual layout. Producing accessible PDFs is a legal requirement in many jurisdictions for government and public-facing documents.
AI is transforming PDF workflows. AI-powered OCR, document understanding, form extraction, and content summarization are making it possible to process and extract value from PDF collections at scale. Browser-based AI capabilities mean some of these features can run locally, maintaining the privacy advantages of client-side processing.
The PDF will remain the standard for fixed-layout documents for the foreseeable future. No competing format offers the same combination of universal compatibility, print fidelity, security features, and industry support. The tools for working with PDFs are becoming more capable, more accessible, and more privacy-respecting — and the browser is increasingly the place where everyday PDF work happens.
For hands-on PDF processing — merging, splitting, compressing, converting, and more — open Fileza.io's PDF tools. Everything runs locally in your browser.