Editing a PDF without losing formatting

Formatting survives when you edit the PDF directly instead of converting it.

You open a PDF, change one word, save it — and the document comes back wrong. Line breaks have moved, a heading has slipped onto the previous page, and the font is subtly but unmistakably different from everything around it. This is the most common frustration in free PDF editing, and it isn't random. Formatting breaks for a small number of specific, predictable reasons.

Check the fonts before you edit anything
Open the document properties and look at the Fonts tab. It lists every font used and marks which are embedded. If something is neither embedded nor installed on your machine, install it first. This one check prevents most formatting disasters before they happen.

Why PDF formatting breaks

A PDF doesn't store a page as a picture. It stores instructions: place this character, in this font, at this precise coordinate. That's why PDFs look identical everywhere — the position of every element is fixed. Damage happens when an editor can't follow those instructions exactly.

Missing fonts

This accounts for the majority of cases. If the PDF uses a font that isn't installed on your computer and isn't embedded in the file, your editor substitutes something else. The replacement has different letter widths, so text that occupied 82mm now occupies 85mm, everything after it shifts, and the layout unravels from that point on.

Conversion round-trips

Converting a PDF to Word, editing, and converting back doesn't preserve the original — it rebuilds it twice. The converter interprets absolute positions as paragraphs, tables and text boxes, then re-renders those interpretations as a new PDF. Simple documents survive. Anything with columns, precise spacing or tight graphics does not.

Text stored as outlines

Some PDFs, particularly those exported for printing, have text converted to vector shapes. It looks like text but contains no characters at all. It can't be edited as text by any tool, free or paid — only redrawn.

The rule that prevents most damage

Edit the PDF directly. Don't convert it. Direct editing modifies the existing file, leaving every element you didn't touch exactly where it was. Conversion discards the original structure and generates a new one from an interpretation of it.

ApproachFormatting riskBest for
Direct PDF editingLowSmall text and image changes
Browser-based editorLow to moderateQuick fixes, adding text or signatures
Convert to Word and backHighHeavy rewriting of simple text documents
Rebuild from sourceNoneWhen you still have the original file

That last row deserves emphasis. If the Word, InDesign or Illustrator file that produced the PDF still exists, edit that and export again. It's always the cleanest result and it's the option people most often forget they have.

Method 1: LibreOffice Draw

LibreOffice Draw edits PDFs directly and is completely free — no watermarks, no daily limits, and no upload, so the file never leaves your computer. That last point makes it the right choice for anything confidential.

  • Install LibreOffice, plus any fonts the PDF uses that you don't already have.
  • Open LibreOffice Draw and use File → Open to load the PDF directly.
  • Click the specific text block or object you need to change.
  • Make the edit, keeping the same font, size and colour as the surrounding text.
  • Export with File → Export as PDF, ensuring font embedding is enabled.

Draw treats each line as an independent object, so editing a full paragraph means adjusting several blocks. That feels awkward, but it's precisely why formatting survives — nothing reflows unless you move it.

Keeping alignment intact

If replacement text is longer than the original, resist stretching the text box, which pushes neighbouring elements. Reduce character spacing very slightly instead, or shorten the wording. Use arrow keys rather than dragging for repositioning, since mouse movement rarely lands on the original baseline.

Method 2: Browser-based editors

Online editors work well for additive changes — adding text, inserting a signature, highlighting, whiting out a line — because they overlay new content without disturbing what's already there. They're less reliable for editing existing text, since many rebuild the affected block.

Two cautions apply. Free tiers frequently compress images on export, which softens logos and photographs. And your file is uploaded to a third-party server — never appropriate for contracts, financial documents or anything containing personal data.

Method 3: Word conversion, used deliberately

Converting to Word has a legitimate but narrow use: documents that are essentially flowing text where you need to rewrite substantially and exact layout matters less than the words. A simple letter or plain report converts acceptably. A brochure, a form or a multi-column newsletter will not.

Handling scanned PDFs

Scanned documents need OCR before any text editing is possible. Three things determine the result: resolution, where 300 DPI is the practical minimum; straightness, since skewed pages produce misaligned text layers; and contrast, because faint photocopies confuse character recognition.

Even with good OCR, recovered text sits approximately rather than exactly where the original ink is. For documents that must match the original precisely, rebuilding from scratch produces a better result than editing an OCR layer.

Before you save
Compare against the original side by side, including pages you didn't edit. Confirm the page count. Zoom to 200% on edited text to catch baseline misalignment. Check images at full zoom for compression damage. Verify fonts are embedded. And always save as a new file.

Recovering a file that's already damaged

Return to the original source file if it exists and redo the edit properly. Failing that, check whether the software created a backup, or whether an earlier copy sits in your email sent folder or cloud storage version history — this recovers more files than people expect.

If no clean copy survives, the document has to be rebuilt manually against a reference of how it should look: identifying the original fonts, matching sizes and spacing, correcting alignment element by element. Entirely achievable, but slow — which is why the single most valuable habit in PDF work is keeping an untouched original.

Frequently asked questions

Almost always because the fonts used in the document aren't installed on your computer. The editor substitutes a similar font with different letter widths, so every line reflows. The second most common cause is converting the PDF to another format and back.
LibreOffice Draw, because it edits the PDF directly rather than converting it. Text, images and objects stay where they are and only the element you change is affected.
Yes, and you generally should. Direct PDF editors modify the file in place. Conversion to Word is only worth it when you need to substantially rewrite flowing text and are willing to reformat afterwards.
Open the document properties and check the Fonts tab, which lists every font and whether it's embedded. If a font isn't embedded and isn't installed locally, find and install it before editing. Many common document fonts are freely available.
Text layout is unaffected because text is stored as instructions rather than pixels. Images are a different matter — aggressive compression visibly degrades photographs and can make logos look soft. Compress moderately and check images at full zoom afterwards.

Already broken the formatting, or dealing with a layout too precise to risk? Send me the file and I'll rebuild it to match the original exactly.

BK

Bayazid Kajol

Founder · SBTEXMEDIA

I help businesses worldwide with PDF editing, fillable forms, logo design and Microsoft Office formatting — with a focus on quality, speed and getting the details right. Work with me →