What Is Flipping a PDF?
Mirroring is one of the basic transformations of any page, alongside rotating, scaling and cropping — but it is the one most PDF toolboxes leave out, because everyday documents rarely need it. The need appears in two situations: a document that has accidentally been produced as a mirror image and must be corrected, and a print process that requires the mirror image on purpose. Both are real, both are frustrating to fix with the wrong tools, and both are exactly what this page does.
This page loads the pdf-lib library in your browser, opens your file, and rebuilds it page by page with the mirror applied. The original file is never modified — you always download a new, flipped copy.
How to Flip a PDF, Step by Step
The file is opened on the spot when you add it, partly so its page count can be shown and partly so a password-protected or damaged file is reported immediately rather than failing halfway through. The settings section appears once a readable file is loaded. The result panel shows how many pages were flipped, in which direction, and the output size.
Under the result sits a share row. Copy Results puts a short text summary on your clipboard; Share Link passes this page on; Email Results opens your mail app with the summary already written. Reset clears the file and the result, and it asks for confirmation first so a stray click cannot wipe your work.
Always look at page 1 of the result before you rely on it. If you were correcting a mirrored scan, the text should now read normally. If it reads backwards, the file was not mirrored to begin with — flip it again in the same direction and it is restored exactly. Mirroring twice is a perfect undo, which makes experimenting safe.
Flip vs Rotate: The Difference That Matters
A quick test tells you which problem you have. Hold the page up: if the text is upside down or runs down the side of the page, it needs rotation — the PDF Page Rotator turns it 90° or 180°. If the text reads backwards, as though you were looking at the page from behind the paper, it needs flipping, and no amount of rotating will ever fix it — a mirror image rotated is still a mirror image.
The two also compose: a scan can be both mirrored and upside down (a flipped stack fed the wrong way). Fix the mirror first with this tool, then rotate the result — order matters, because rotating first makes the mirror axis harder to reason about.
Horizontal or Vertical: Choosing the Mirror
Think of the horizontal flip as holding the page up to a mirror on its side: the heading that was on the left is now on the right, and every letter is reversed. That is precisely the transformation that undoes a backwards scan, because the scan itself was effectively a mirror view of the page. The vertical flip is the mirror lying flat: the heading moves to the bottom and the text is upside-down mirror writing — a rarer fault, usually from a sheet fed through a scanner path that inverted it.
Neither setting changes the page's dimensions, and both apply to every page in the file uniformly. Mixed files — some pages mirrored one way, some the other — cannot be fixed in one pass; extract the odd pages with Extract PDF Pages, flip them separately, and merge everything back in order.
Mirrored Scans: How They Happen, How to Fix Them
The wrong-side capture is the classic: on a flatbed scanner, a page placed face-up instead of face-down is imaged through the paper, and thin paper lets the print show through — reversed. Some all-in-one printers produce the same file when a two-sided original is scanned with a “booklet” or “mirror” option inherited from a previous job. Phone apps add their own trap: several popular scanning apps carry a flip toggle near the rotate button, and a single stray tap mirrors every page of a long scan.
However it happened, the fix is deterministic — the information is all there, just handed the wrong way. One horizontal flip and the document is a normal PDF again: same resolution, same text layer if it had one, same page sizes. There is no re-scanning and no OCR required, which is why trying the flip first is always worth the ten seconds it takes.
Mirror Printing: Transfers, Decals and Backlit Film
For these jobs the workflow is: finish the document normally — text reading correctly, layout final — then flip the PDF here as the last step before printing. Print a single test page first and hold it against the transfer medium or glass to confirm the handedness before running a batch; transfer materials are the expensive part of the job, and a test page is not.
One caution for text-heavy transfers: check the flipped file at full size before printing. Mirroring is mathematically exact, so anything that was slightly soft in the original is equally soft in the mirror — the flip neither sharpens nor blurs, and a test print is the honest way to judge whether the source is good enough.
How the Flip Is Made: A Negative Scale
PDF draws page content through a transformation matrix, and setting the horizontal component of that matrix negative maps every x-coordinate to its mirror position. This tool embeds your page as a reusable object (a Form XObject), then draws it with that negative-scale matrix and an offset that brings the mirrored content back inside the page. The vertical flip does the same on the other axis.
Two honest consequences follow from the method. Interactive elements that live outside the content stream — links, annotations, form fields — are not embedded, so they do not appear in the result. And the transformation is exact, not an approximation: flipping the result again with the same setting reproduces the original page bit-for-bit in layout, which is why the operation is safely reversible.
Quality and File Size: What Changes — and What Doesn't
A born-digital page keeps its real text and vector artwork (reading in whichever direction the flip leaves it), and a scanned page keeps its original pixels — a 300 dpi page flips to a 300 dpi page. If the flipped result is still too big to send, shrink it afterwards with the PDF Compressor; flipping first and compressing second loses nothing.
What This Tool Cannot Do
It also cannot make a mirrored scan searchable if it was not searchable before — flipping changes handedness, not content — and it cannot repair a damaged PDF. If only the photograph inside a document is mirrored but the text around it is fine, flipping the page would break the text to fix the photo; that page needs its image corrected before the PDF is built, not a whole-page flip. Finally, everything happens in your browser tab's memory: there is no set file limit, but a very large file can strain an old phone, in which case a desktop browser is the workaround.
Common Problems and How to Fix Them
The text is still backwards, but now upside down too. You applied the vertical flip to a horizontally mirrored page (or the file was both mirrored and rotated). Flip the result again with the same direction to undo, then use the horizontal flip; if it then reads correctly but sits upside down, finish with a 180° turn in the PDF Page Rotator.
The text reads fine but the page is upside down. That was never a mirror problem — it is rotation. Undo the flip (same direction again) and rotate the file instead.
A file will not load. It is almost certainly password-protected or damaged — the tool says so as soon as the file is added. Unlock it with the PDF Password Remover if it is yours, or re-export a clean copy, then add it again.
Your Files Never Leave Your Device
Nothing is uploaded, nothing is stored, and there is no account holding a history of your documents. That is what makes the tool safe for personal scans and private papers. Close the tab and everything is gone — which also means you should save the flipped file before you close it.
Sources & References
- pdf-lib — the open-source library this page loads (version 1.17.1) to embed pages and draw them mirrored in your browser.
- pdf-lib on GitHub — the library source and documentation, including embedPage and the drawPage scale options this tool uses.
- MDN Web Docs — FileReader — the browser API this page uses to read your file locally, on your device, before flipping it.
- MDN Web Docs — Blob — how the finished flipped file is packaged in the page and handed to your browser as a download.
- Wikipedia — Mirror image — what a mirror reversal is, and why it differs from a rotation.
- Wikipedia — PDF — the Portable Document Format itself: history, structure and how pages are stored.
- Wikipedia — ISO 32000 — the international standard that defines the PDF format this tool reads and writes.
Sources checked December 2026.