Convert any PDF to dark mode, full negative, grayscale or sepia. Preview the result live, choose which pages to process, and download instantly — all in your browser.
Dark ModeFull InvertGrayscaleSepia
Drag & Drop PDF here
or click to select a single PDF file
Files never leave your device
Color Inverter
document.pdf
—
Live Preview — Page 1
1 / 1
ORIGINAL
Preview appears once the PDF is loaded
The preview shows the current page with your selected mode applied. Use Prev/Next to check other pages.
Inverting Pages
0 / 0Live thumbnails appear as each page is processed
Inversion Mode
Dark Mode
Light → dark, images preserved
Full Invert
Negative — every color reversed
Grayscale
Remove all color
Sepia
Warm, paper-like tone
Dark Mode maps light backgrounds to dark and keeps photos looking natural.
Pages to Invert
Use commas to separate pages and hyphens for ranges. Example: 1-3, 5, 8-10
Output Options
2.0x
Higher scale = sharper output but larger file.
85%
Lower quality = smaller file size.
Working…0%
Colors Inverted!
Original
—
Inverted
—
Pages
—
QUICK ACTIONS
File Loaded—
ModeDark Mode
PagesAll
Privacy Local Processing
The inverted PDF is a new file. Keep your original for reference.
100% Secure
Inversion happens locally in your browser. Nothing is uploaded.
4 Color Modes
Dark Mode, Full Invert, Grayscale and Sepia.
Live Thumbnails
Watch each page transform in real time as it is processed.
Page Range Control
All pages, odd/even, first/last, or a custom range.
What Is PDF Color Inversion and Why Does It Matter?
PDF color inversion is the process of reversing the colors of a document's pages — turning light backgrounds dark, dark text light, and every other pixel into its complement. The Web Tool Bazar Invert PDF Colors Tool does this in your browser using pdf.js to render each page, the HTML Canvas API to transform every pixel, and pdf-lib to assemble a brand-new PDF from the processed pages.
The most common reason people invert a PDF is eye comfort. Reading a bright white page on a screen in a dim room strains the eyes — the constant contrast between a luminous background and a dark environment forces the pupils to work overtime. A dark-mode PDF flips this: the background becomes dark, the text becomes light, and reading in low light suddenly feels natural. Students pulling all-nighters, professionals reviewing documents on a red-eye flight, and anyone reading in bed all benefit from this simple transformation.
The second major reason is printing cost. A slide deck or presentation exported with a dark background can consume enormous amounts of ink or toner when printed. Inverting it to a white background with dark text can reduce ink usage by up to 90%. Print shops, schools and offices frequently invert dark-background PDFs before sending them to a printer.
The third reason is accessibility. Some users have photophobia, migraines or visual impairments that make high-contrast bright screens uncomfortable. An inverted PDF can make a document dramatically more readable for them. Grayscale and sepia modes serve similar purposes — grayscale removes distracting color, and sepia softens the harshness of pure black on pure white with a warmer paper-like tone.
Importantly, this tool does not just apply a CSS filter to the viewer. It bakes the inverted colors into a new PDF file. The output is a real PDF that displays with the new colors in every viewer, on every device, and when printed — not just in the browser tab where you created it.
Four Inversion Modes Explained
Dark Mode — the most useful mode for reading
Dark Mode is not a simple color inversion. A naive inversion turns white backgrounds black but also turns photographs into negatives — faces become ghostly blue, product photos become unrecognisable. Dark Mode uses a smarter approach: it maps light background colors to a dark palette while preserving the luminance relationships of photographic regions. Text and vector graphics invert cleanly, but large raster images are detected and left closer to their original appearance. The result is a document that looks like a professionally designed dark theme, not a photo negative.
Full Invert — the classic negative
Full Invert applies the mathematical complement to every pixel: red, green and blue channels are each replaced with 255 − value. White becomes black, black becomes white, blue becomes orange, green becomes magenta. This is the mode designers use to preview how a document looks in negative, and it is also the mode that produces the highest contrast for pure text documents.
Grayscale — remove all color
Grayscale converts every pixel to a shade of grey based on its perceived brightness (luminance). The formula weights green most heavily, then red, then blue, because the human eye is most sensitive to green. The result is a document with no color at all — useful for printing on black-and-white printers, for focusing attention on content rather than design, and for users who find color distracting.
Sepia — warm, paper-like tone
Sepia applies a warm brownish tint across the entire page, mimicking the look of aged paper. It is gentler on the eyes than pure black on pure white, and it is often preferred for long reading sessions. Sepia is also useful for giving digital documents a classic, printed-book feel.
Live thumbnail grid during processing
When you start inverting, the tool builds a thumbnail grid of every page in the document. Each tile shows the actual inverted result the moment that page is finished — so you can see the transformation happen page by page, and spot any page that looks wrong before the file is even saved. Skipped pages (those outside your chosen range) are shown greyed out, and pages that fail to render are marked in red with a blank substitute so the rest of the document can still complete.
Common PDF Color Inversion Use Cases
Night Reading
Convert white-background PDFs to dark mode for comfortable reading in low light.
Ink Saving
Flip dark-background slide decks to white backgrounds before printing to save toner.
Design Review
Inspect how a document or logo looks in negative for creative and print work.
Accessibility
Provide high-contrast or low-glare versions for users with visual sensitivities.
Study Materials
Convert lecture slides and textbooks to dark mode for late-night revision.
Invoice & Receipt Cleanup
Convert faded or dark-scanned receipts to a cleaner grayscale or sepia version.
E-reader Preparation
Make PDFs comfortable to read on phones, tablets and e-ink devices at night.
Contract Review
Reduce eye fatigue when reviewing long legal documents on screen.
How PDF Color Inversion Works Under the Hood
Stage 1 — Render each page to a canvas
pdf.js renders the PDF page onto an HTML canvas at your chosen scale. A scale of 2 means each page is drawn at twice its natural pixel dimensions, which produces a sharper result after processing. The canvas is filled with white first, then the page content is drawn on top.
Stage 2 — Read and transform every pixel
The Canvas API's getImageData() returns a flat array of RGBA values — four numbers for every pixel on the page. The tool walks this array and applies the selected transform to each pixel. For Full Invert, the formula is simply 255 − value per channel. For Grayscale, it computes luminance with the standard weights (0.299 red, 0.587 green, 0.114 blue) and writes that value back into all three channels. For Sepia, it applies a fixed colour matrix that maps any input colour to a warm brownish output. Dark Mode uses a more sophisticated approach that detects large photo regions and preserves their colour relationships while inverting text and background.
Stage 3 — Rebuild the PDF while showing thumbnails
Each processed canvas is encoded as a JPEG at your chosen quality, and pdf-lib embeds it into a new PDF document. At the same time, a small version of the same canvas is added to the live thumbnail grid, so you see the actual result of every page as it is created. Pages that were not selected for inversion are copied from the original document unchanged and shown greyed out in the grid with a "skipped" icon.
Why the output is a real PDF, not a viewer filter
Many dark-mode PDF readers simply apply a CSS filter to the canvas on screen. The moment you print the document, send it to a friend, or open it in a different app, the filter disappears. This tool does the opposite: it writes the inverted pixels into the file itself. The result is a standalone PDF that looks identical everywhere — on any device, in any reader, and when printed.
Why images look different in each mode
Photographs contain thousands of colours, and how they respond to inversion depends entirely on the mode. Full Invert produces a true negative — blue skies become orange, skin tones become cyan. Grayscale removes all colour. Sepia gives everything a warm brown cast. Dark Mode is designed to leave photos looking natural by detecting them and applying a gentler transform that preserves their apparent brightness and colour balance.
What happens to text and vector graphics
Text and vector graphics invert perfectly in every mode, because they are rendered at the same resolution as everything else. Black text becomes white in Full Invert and Dark Mode, and becomes light grey in Grayscale and Sepia. Coloured headings and charts change to their complements in Full Invert, while Grayscale and Sepia map them to their respective palettes.
How to Invert PDF Colors — Step by Step
1
Upload Your PDF
Click "Select PDF File" or drag a PDF into the dashed drop zone. The first page renders in the preview area immediately.
2
Choose an Inversion Mode
Pick Dark Mode for comfortable reading with natural-looking images, Full Invert for a true negative, Grayscale to remove all colour, or Sepia for a warm paper-like tone. The preview updates instantly.
3
Check Other Pages
Use the Prev/Next buttons to browse through the document. Some pages may look better in one mode than another — you can always change the mode and re-preview.
4
Pick a Page Range
Choose All Pages, First Page Only, Last Page Only, Odd Pages, Even Pages, or a Custom Range such as 1-3, 5, 8-10.
5
Watch the Thumbnails, Then Download
Set the rendering scale and JPEG quality, then click INVERT COLORS. A live thumbnail grid appears and shows each page as it is inverted in real time. When processing finishes, the new PDF downloads automatically.
Best Practices for PDF Color Inversion
Use Dark Mode for reading, Full Invert for design review. Dark Mode keeps photos looking natural and is the better choice for most documents you actually need to read. Full Invert is the tool for previewing how a design looks in negative.
Check pages with photos before committing. A page full of product images may look fine in Dark Mode but strange in Full Invert. Preview the pages that matter most.
Start with scale 2x and quality 85%. This combination produces a sharp, reasonably sized output for most documents. Increase scale to 3x only if you need maximum print quality.
Keep the original PDF. Inverting creates a new file. If you later want the original colors back, you need the source document — the inverted file cannot be un-inverted without loss.
Use Grayscale for pure text documents. If the PDF contains no meaningful colour, grayscale produces a cleaner result than Dark Mode and a smaller file than Full Invert.
Use Sepia for long reading sessions. The warm tone is easier on the eyes than pure black on pure white, especially over long periods.
Combine with compression if size matters. Inverting re-renders every page, which usually increases file size. Run the inverted PDF through our Compress PDF tool if you need a smaller file.
Do not invert for redaction. Inverting colors does not remove any content. Hidden text or metadata in the original remains in the output.
Who Should Use This Tool?
Students and researchers converting lecture slides and textbooks to dark mode for late-night study.
Professionals reviewing long documents on screens and wanting to reduce eye strain.
Designers previewing logos, layouts and artwork in negative for creative and print work.
Office and print staff flipping dark-background decks to white before printing to save ink.
Users with visual sensitivities who need lower-glare or high-contrast document versions.
E-reader users preparing PDFs for comfortable reading on phones and tablets at night.
Lawyers and paralegals reviewing long contracts and briefs on screen.
Anyone who reads PDFs on screens and wants a more comfortable experience.
Troubleshooting Common Issues
The inverted PDF is much larger than the original.
This is expected. Inverting requires re-rendering each page as an image and embedding that image in a new PDF. The output is an image-based PDF rather than a vector-based one, so it is typically larger. Reduce the rendering scale or JPEG quality to shrink it, or run the result through our Compress PDF tool.
Text is no longer selectable in the inverted PDF.
Correct — this is a consequence of the process. Because each page is re-rendered as an image, the original text layer is replaced by pixels. If selectable text matters more than the color change, keep the original PDF.
Photos look like negatives in Full Invert mode.
That is what Full Invert does — it reverses every color channel, turning photos into true negatives. Switch to Dark Mode instead. Dark Mode detects large photo regions and preserves their natural appearance while still giving the document a dark theme.
Some pages are still white after inverting.
Check the page range setting. If you selected a custom range, make sure the format is correct (for example 1-3, 5, 8-10). Those pages will appear greyed out in the live thumbnail grid with a "skipped" icon. If the range is valid, try inverting again with "All Pages" selected to confirm the mode is working.
A thumbnail in the grid is red.
A red tile means the page could not be rendered or transformed. The tool substitutes a blank page of the same size so the rest of the document can still be saved. Try inverting again with a lower rendering scale, or check that page in the original PDF — it may be corrupted or use an unsupported feature.
Processing is slow on a long document.
Each page is rendered, transformed and re-encoded sequentially. A 200-page document at scale 3x can take a minute or more. Lower the rendering scale to 1.5x or 2x for faster processing, or invert only a page range rather than the whole document. The live thumbnail grid lets you watch the progress page by page even on slow documents.
Can I undo the inversion?
Not from the inverted file. The color change is baked into the pixels of the output PDF. Keep a copy of the original document so you can always generate a different version.
Frequently Asked Questions
How do I invert PDF colors for free?
Open the tool, upload your PDF, choose an inversion mode such as Dark Mode or Full Invert, select the page range, then click INVERT COLORS and download the result. Everything runs in your browser, so it is completely free and private.
What is the difference between Dark Mode and Full Invert?
Dark Mode maps light backgrounds to dark and keeps images looking natural — it is designed for comfortable reading. Full Invert literally reverses every color channel (255 − value), so white becomes black, blue becomes orange, and photographs become color negatives.
Will inverting colors affect my images?
In Full Invert mode, photographs become true colour negatives. In Dark Mode, the tool detects large photo regions and preserves them, so faces and product photos still look natural while text and backgrounds switch to a dark theme.
Can I invert only some pages?
Yes. Choose from All Pages, First Page Only, Last Page Only, Odd Pages, Even Pages, or a Custom Range such as 1-3, 5, 8-10. Only the pages you select will be inverted; the rest are shown greyed out in the live thumbnail grid.
What is the live thumbnail grid for?
The live thumbnail grid shows a real image of each page the moment it is inverted. You can watch the transformation happen page by page, spot any page that looks wrong before the file is even saved, and see exactly which pages were skipped based on your range selection.
Is my PDF uploaded to a server?
No. All processing happens locally in your browser using pdf.js, the HTML Canvas API and pdf-lib. Your file never leaves your device. When you close the tab, everything is wiped from memory.
Will the inverted PDF print correctly?
Yes. The inverted colours are baked into the output PDF, so it will print exactly as it appears on screen — dark backgrounds and light text if you chose Dark Mode, or the inverse of the original if you chose Full Invert.
Does inverting reduce PDF quality?
The output is an image-based PDF, so text is no longer selectable and vector sharpness is replaced by raster resolution. At scale 2x and quality 85%, the result looks identical to the original on screen and when printed at normal sizes. Higher scales produce sharper output.
Can I undo the inversion after saving?
Not from the inverted file. The colour change is baked into the pixels of the output PDF. Keep a copy of the original document so you can always generate a different version.
Can I use this tool on my phone?
Yes, the interface is fully responsive. Mobile devices have less memory than desktops, so very high rendering scales on long documents may be slower. Scale 2x works fine on most modern mobile browsers.
Is this tool really free?
Yes — completely free, no signup, no hidden fees, no daily limits, no watermarks added to your output. Use it as often as you need.
Final Thoughts
Inverting PDF colors should be fast, private and predictable. The Web Tool Bazar Invert PDF Colors Tool delivers all three: four inversion modes (Dark Mode, Full Invert, Grayscale, Sepia), a live page preview, a live thumbnail grid that shows each page being inverted in real time, page range selection, rendering scale and JPEG quality controls, and a strict local-only processing model that keeps every pixel on your device.
Whether you are a student converting lecture slides to dark mode for a late-night revision session, a professional reviewing contracts on a screen, a designer previewing a logo in negative, or anyone who wants a more comfortable reading experience, this tool handles the job cleanly and securely. Bookmark it for the next time you need it — and explore our other PDF tools like Merge PDF, Split PDF, Organize PDF, Crop PDF, Remove Pages, Compress PDF, Upscale PDF, Add Watermark and PDF to Word, all built with the same privacy-first philosophy.