ImagePDF.Tools

Invert PDF Colours and Read in Dark Mode

Processing securely on your device, no data sent to any server
PDF

or drop files here

Turn glaring white pages into a dark, low-glare copy for late nights and sensitive eyes. The words remain real text, so search and copy still work, and the conversion happens in this tab.

How it works

Choose a darker page, keep the real text.

Drop in the PDF

Lecture notes, a novel, a manual or a long report. A protected file asks for its password once, and page 1 then shows up next to its darkened version.

Pick a reading mode

Full inversion, a softer dark grey or warm sepia. The preview gives a close idea of page 1, and you can skip pages that are mostly photos.

Save and read anywhere

The dark copy is an ordinary PDF, so it opens dark in every reader app, on a tablet, or on a work laptop that has no dark setting of its own.

Use cases

When a white page is simply too bright.

Most PDFs are designed to imitate paper, which is fine at a desk in daylight. In a dark room, or for eyes that dislike glare, that same white page becomes the problem.

Reading in bed or late at night

A bright white page in a dark room makes you squint and lights up the whole bedroom. An inverted copy keeps the screen dim while the words stay sharp.

Light sensitivity and migraines

Large areas of white can be genuinely painful for people with photophobia or during a migraine. A dark page sends far less light towards your eyes without making the text any smaller.

Low vision

Some readers with low vision find light letters on a dark ground easier to pick out. Combine the inverted file with your reader’s zoom to keep long documents manageable.

Matching a dark workspace

Developers and engineers often keep a datasheet or API manual open beside a dark-themed editor or CAD program. A dark copy stops your eyes readjusting every time you glance across.

Night flights and shared rooms

In a dimmed cabin, a sleeper train or a room someone else is sleeping in, a white page glows like a lamp. A dark copy keeps that glow down for the people around you.

Apps with no dark setting

Plenty of PDF apps on e-reader tablets, older phones and locked-down work computers simply have no way to darken the page. Building the dark look into the file gets round that everywhere.

Which dark mode suits your eyes?

The table shows what happens to a typical page of black text on white paper. Contrast is worked out with the formula from the WCAG accessibility guidelines, where 21:1 is the maximum and 4.5:1 is the usual minimum for body text, so every mode stays comfortably readable. Invert keeps the full contrast. Soft dark gives some of it up on purpose, because pure white letters on pure black can seem to glow or smear, particularly for people with astigmatism. Sepia keeps dark text and simply takes the harsh edge off the paper.

None of this turns your pages into images. A sheet of white paper is placed underneath each page, then a full-page rectangle is painted on top using a PDF blend mode. For Invert it is a white rectangle in Difference mode, which subtracts every colour from white and leaves its opposite. Soft dark adds two more layers, a near-black in Screen mode to lift the blacks and a light grey in Multiply mode to dim the whites. The original text sits untouched beneath, which is why it can still be searched and read aloud, and why the file barely grows.

Two things the layer cannot reach: photos are inverted with everything else, and comments or form fields float above the page and keep their colours. Use the page selector for picture pages, and merge annotations into the page with Flatten PDF before inverting.

Black text on a white page, after each mode
ModePage and textPhotosContrast
OriginalWhite page, black textUnchanged21:1
InvertBlack page, white textNegative21:1
Soft darkVery dark grey page, light grey textNegative, mutedAbout 13:1
SepiaWarm cream page, black textBrown-toned, positiveAbout 18:1

Need a copy for paper rather than for a screen? A dark page wastes toner, so use Grayscale PDF to drop the colour instead.

Common questions

Questions answered.

Will the text still be searchable after inverting?
Yes. The tool lays a colour-changing layer over each page instead of turning it into a picture, so the original text is still there underneath. Search, copy and screen readers keep working as they did before.
Why do photos look strange in the inverted file?
Inversion swaps every colour for its opposite, and photos are no exception, so faces and skies come out looking like old film negatives. Choose pages to leave picture-heavy pages alone, or pick Sepia, which tints photos rather than reversing them.
What is the difference between Invert and Soft dark?
Invert gives pure white letters on a pure black page, the strongest contrast there is. Soft dark lifts the black to a very dark grey and dims the white to a light grey. Many people find that calmer over a long session, especially anyone who sees bright letters glow or smear against black.
Is this the same as the dark theme in my PDF reader?
Usually not. Many readers only darken their menus and toolbars while the page itself stays bright white, and the few that can recolour pages keep that setting on one device. Here the file itself changes, so the dark pages go with it to your phone, tablet or anyone you share it with.
Can I get the original colours back?
Keeping the original file is the simplest way. If all you have is a copy made with the Invert mode, running Invert on it again cancels the first inversion and the normal colours return, although the file then carries both layers. Soft dark and Sepia cannot be reversed this way.
Why were my highlights and form fields left unchanged?
Comments, highlights, sticky notes and fillable fields live in a separate layer that your reader paints on top of the page, so the colour layer never reaches them. Some highlighter marks can even vanish against a dark page. Merge them into the page with Flatten PDF first, then invert.
Should I print the inverted version?
Almost never. A page that is solid black with white text uses many times more toner or ink than the original. Print the original instead, or make a grayscale copy if the aim is to avoid colour ink.
Does it work on scanned documents?
Yes. A scan is a photo of the page, and the layer inverts images too, so a scanned letter becomes pale text on a dark background. If you also want the scan to be searchable, run OCR PDF on the original first and invert the OCR result, since text recognition works best on dark text over a light page.
Does the PDF get uploaded to a server?
No. The colour layers are written by pdf-lib in a worker thread inside this browser tab, and the preview is built from your own copy of page 1. Nothing is sent to us or to anyone else.