Invert PDF Colors — Dark-Mode & Artistic Effect
Invert every colour in a PDF (black ↔ white, dark ↔ light) for dark-mode reading or artistic effects.
Invert PDF Colors renders every page through a browser canvas with the CSS invert filter applied, then re-embeds the pages into a new PDF. The result is a negative of the original — black becomes white, dark blue becomes pale yellow, etc.
All processing is 100% client-side. Your PDF is opened inside your browser tab, edited with pdf-lib (and rendered with pdf.js when needed), and saved as a Blob download. Nothing is ever uploaded to any server and closing the tab wipes every working buffer.
- Full colour inversion (black ↔ white and everything in between)
- Three quality presets to trade sharpness vs. file size
- Preserves original page dimensions
- Preview each page before download
- No uploads
- 1Upload the PDF.
- 2Pick a quality preset.
- 3Press Invert — pdf.js + canvas produce a negative.
- 4Download the inverted PDF.
- Combine with Grayscale if you want a monochromatic dark theme
- Use High quality for reading; Low quality is fine for artistic effects
- Note that inversion turns coloured highlights into unfamiliar colours — not always ideal for study notes
The most common use is dark-mode reading of long PDFs on bright screens — at night, or in low-light environments. Inversion gives your eyes a break from the standard black-on-white contrast. Artistic use cases include preparing negatives for design mockups and creating high-contrast versions for accessibility.
The tool uses pdf.js to render each page onto a canvas, applies the CSS filter “invert(1)” before encoding, and produces a JPEG that gets embedded into a fresh PDF via pdf-lib. Because inversion is a per-pixel operation, it works uniformly across text, vectors and images.
Like Grayscale PDF, inversion is a rasterization step. Text becomes an image and is no longer selectable in the output. File size may grow for text-heavy documents. If you want inversion just for viewing, most modern PDF readers already offer a night-mode view without modifying the file — this tool is for when you specifically need a permanently inverted copy.
Your files never leave your browser. All parsing, page rendering and PDF assembly happens locally on your device using open-source libraries (pdf-lib and pdf.js). ilovedigital.in cannot see, store or share the contents of your documents.
Frequently asked questions
Common questions about the Invert PDF Colors — Dark-Mode & Artistic Effect tool and how your data is handled.
Is the text still selectable after inversion?
Will the file grow?
Are my files uploaded?
Can I combine inversion with grayscale?
Related PDF tools
More free browser-based PDF utilities from ilovedigital.in.