No file open

Tools

Invert PDF colors

or drop a file anywhere here

Dropbox
Google Drive
OneDrive
Box

Files other than PDF are converted first. Signing in raises the size limit.

You add
One PDF
You set
A high-contrast look, or a full inversion
You get
The same PDF in the new colors

Inverting a PDF swaps a light page and dark text for a dark page and light text, which is easier on the eyes at night. This page is for people who read papers, ebooks or slides in a dark room, or who want a light copy of a dark deck. It opens the colors panel on High contrast. Pick White text on black, which is selected when the panel opens, or Yellow text on black, Green text on black or Black text on white. High contrast redraws the page background and the text and leaves pictures alone. On our ordinary test PDF the text stayed selectable and the picture kept its colors. On a PDF whose text is set at 1 pt and scaled up, the result was unreadable, even though the tool said it was done, so look at page 1 at full size before you download. If you want a true photo negative, choose Invert every colour, photos too. That turns each page into an image, so the text can no longer be selected or searched, and the panel warns you before you run it. We did not run that option in our test. To choose your own background and text colors instead, switch the panel to Your own colours.

Our own 2-page A4 PDF (CC0): a blue title and link, body text and a gradient picture, set at 12 pt and again at 1 pt

PDF originalthe ordinary 12 pt sample, 2 pages
83,883 B
Green text on blackfrom indox, 4.1 s in our test
71,278 B-15.0%
Legible glyphs, 12 pt samplepage 1, result of the working run
488 of 488
Legible glyphs, 1 pt samplepage 1, result of the failing run
56 of 488
Text found by pdftotext, 12 pt sampleoriginal 594, so no doubling
594
Text found by pdftotext, 1 pt sampleoriginal 594, doubled and letter-spaced
2,056
The top of page 1 of our sample PDF before the change: dark text on a white page, a blue title and link, and a gradient bar, enlarged
The same part after Green text on black: green text on a black page, the gradient bar in its own colors, enlarged
Measured on indox.org on 5 November 2026: our ordinary sample before and after Green text on black. Drag the handle to compare the top of page 1. The 1 pt version failed, see the last rows and the limits.

What can you do when you invert PDF colors?

Four ready-made looks

White text on black is selected when the panel opens. Yellow text on black, Green text on black and Black text on white are one click away, and each shows a small swatch of its colors.

Text stays text on ordinary PDFs

In our test on an ordinary PDF, the text stayed selectable after a high-contrast look and the picture kept its colors. Files with very small text can fail, see the limits.

A full photo negative when you want one

Invert every colour, photos too flips every color, pictures included. The option says it is slow on long files, and a warning explains that each page becomes an image before you run it.

Switch to your own colors

The What to change switch moves the panel between High contrast and Your own colours, where you pick a background and a text color yourself.

What inverting keeps and what it changes, by mode

Stays the same

  • Every page, in the same order. Our 2-page sample came out as 2 pages.
  • On an ordinary PDF in our test, the text as selectable text (488 of 488 glyphs legible) and the picture in its own colors.
  • The file on your device. You download a new copy, and Undo brings the original back.

Changes

  • High contrast: a solid background in the chosen color is drawn behind each page and the text is drawn again on top in the chosen color. On our ordinary file the title and link turned green too.
  • The text is in the file twice. A PDF parser counted 289 and then 578 characters per page, while pdftotext showed it once.
  • On a file whose text is set at 1 pt, body text became dots and coloured text kept its color. See the limits.
  • File size: 83,883 to 71,278 bytes in our test. Invert every colour, photos too makes each page an image, so the text can't be selected, and the file gets much bigger.

Which look for which job

You wantPickKeep in mind
A dark page you can still select text onWhite text on blackWorked on our ordinary PDF. Check page 1 at full size first, because a file with 1 pt text failed. A page that is one full-page picture may not change.
Easier reading for some eyesYellow text on black or Green text on blackTry both on a page of your own text.
A light page from a dark deckBlack text on white, or Invert every colour, photos tooA dark background drawn as a shape or picture covers the new white one. The negative turns pages into images.
A dark version of a scan, or a photo negativeInvert every colour, photos tooNot part of our run. Text becomes part of the picture. Expect a much bigger file.

How to invert PDF colors in 3 steps

  1. Add your PDF

    Drop the PDF into the upload area at the top of the page, or click to choose it: up to 200 MB when you are not signed in, or 200 MB with a signed-in account. It opens in the editor with the colors panel ready.

  2. Pick a look

    With High contrast selected, choose White text on black, Yellow text on black, Green text on black or Black text on white. Choose Invert every colour, photos too only if you want a photo negative, and read the warning that appears.

  3. Change colours and download

    Press Change colours. When the editor shows 'Done. Your PDF is updated.', look through the pages at full size, especially page 1. Then press Download PDF, or Undo to go back.

Screenshot of a sample page after Green text on black: green text on a black page, with the gradient picture in its own colors

Why invert PDF colors with indox?

Each look is named for what you see and shows a swatch, so there is no mode or color code to decode. On an ordinary PDF the default keeps your text as text and your picture in its colors. The one option that costs you something, the photo negative, says so before you run it. Undo brings the original back, so you can try another look on the same file. It is free, and our run needed no account. The limits list where the tool failed in our run, so you know what to check before you download.

  • Four named looks with swatches
  • Selectable text on ordinary PDFs
  • Pictures keep their colors in the four looks
  • A warning before the photo negative
  • Undo brings the original back
The indox colors panel for a PDF: the looks White text on black, Yellow text on black, Green text on black and Black text on white, with a Change colours button

What are the limits when you invert PDF colors?

File size
When you are not signed in, a PDF can be up to 200 MB, within a daily free allowance. A signed-in account can upload up to 200 MB per file. Invert every colour, photos too also has a page cap set by the server, because it turns every page into an image.
Where it runs
Your PDF is uploaded to indox's server, recolored there and sent back to the editor. If you are not signed in, the upload and the result are deleted 24 hours after the job finishes. A signed-in account keeps them in its history until you delete them, for at most 180 days, or for 24 hours or 30 days if you choose that. Either way indox keeps a record of the job, such as the file name and its status, not the file.

Limits worth knowing

  • Check text size first. In our test on 5 November 2026, a 2-page PDF whose body text is set at 1 pt and scaled up gave, after Green text on black, 244 of 244 body glyphs on page 1 at 1 pt and only 56 of 488 glyphs with visible contrast. The body text turned into dots on black, and the tool still said Done. Click Undo to bring the original back. Then try another look or Your own colours on the same file and check page 1 at full size. Adjust contrast and Invert every colour, photos too rebuild each page as a picture, so they do not depend on how the text is set, but we did not run them on this file.
  • The text is drawn twice. In our test on that 1 pt file, copying the text gave 2,056 characters against 594 in the original, doubled and with spaces between the letters ("V i l l a g e"). On our ordinary file, a PDF parser (pdfplumber) counted the text twice, 289 and then 578 characters per page, while pdftotext showed it once. Recoloring does not remove text from the file, so do not use it to hide anything.
  • Coloured text may not change. In the same 1 pt file, the blue title and blue link stayed dark blue on black and could not be read. On the ordinary file they turned green with the rest of the text.
  • Done does not mean readable. In our test the tool reported 'Done. Your PDF is updated.' on the file that came out as dots. Look at the pages at full size before you download.
  • Invert every colour, photos too was not part of our run. It turns each page into an image. Text can't be selected or searched, the file gets much bigger, and a long file takes a while. Run Make searchable (OCR) afterwards to get text back.
  • The four looks recolor the page background and the text. A page that is only a scanned picture, or whose background is a full-page picture or filled shape, may not change, because that covers the new background. Use the photo negative for those.
  • Every page is recolored. The panel has no page range.
  • There is no preview before you run. Check the result in the editor and use Undo if you don't like it.
  • The looks are a fixed list. For a background and text color of your own, switch to Your own colours.

When the result is not what you expected

What you seeWhyWhat to do
A scanned page stays whiteA picture that fills the page covers the new backgroundChoose Invert every colour, photos too.
Photos look like negativesInvert every colour, photos too flips every colorUse one of the four looks to keep photos as they are.
Text can no longer be selectedA full inversion replaces each page with an imageUse one of the four looks, or run OCR PDF on the result.
The file is much bigger and slow to makePages stored as images take far more space and timeUse one of the four looks, or shrink the result with Compress PDF.
Body text shows as tiny dots on blackThe PDF sets its text at 1 pt and scales it up, and the recolored copy kept it at 1 ptClick Undo, then try another look, Your own colours or Adjust contrast
A title or link stays dark blue on blackIn the 1 pt file we tested, coloured text was not recoloredClick Undo and use a look or tool that rebuilds the page, then check page 1 at full size
Copied text is doubled or has spaces between lettersThe text is drawn twice, and on the 1 pt file the copy had 2,056 characters against 594Copy from the original PDF, or run OCR PDF on a picture version
It said Done but the page is hard to readThe tool reports that the job ran and does not check that the result is legibleLook at the pages at full size and click Undo if they are not readable

What do the free and paid plans add?

Free

  • All converters
  • Daily credit refresh
  • Email support

Basic

  • Access to all features
  • AI Extract
  • Priority conversions
  • Email support
Highest priority

Premium

  • Everything in Basic
  • Highest priority queue
  • Priority support

Pay-As-You-Go

  • No subscription
  • Credits never expire
  • Opt-in auto-refill
  • Access to all features
See prices

Ways to get a dark or light PDF, and which fits

WayText afterwardsFileBest for
High contrast look (this page)Selectable on our ordinary test PDF. Broken on a PDF with 1 pt text.A new recolored PDFA dark or light copy of an ordinary text PDF.
Invert every colour, photos too (this page)Not selectable, because each page becomes an image.A new PDF, much biggerA scan or a photo negative. We did not run it.
Replace colorsRedrawn text in colors you choose. The original text stays under it, so copied text can come out doubled.A new recolored PDFYour own palette instead of a fixed look.
Adjust contrastIn our test on a faint scan, selectable text went to 0 characters.A new PDF made of page picturesA readable copy of a faint or dark scan.
A dark mode in your PDF readerThe file is unchanged.No new fileReading on screen when the reader has such a mode.

Who inverts PDF colors?

  • Night readers

    A white page is tiring on a screen in a dark room. White text on black gives you a dark copy of a paper or an ebook for late reading.

  • Readers who need stronger contrast

    Some people read yellow or green on black more comfortably than black on white. Pick that look and keep the copy for your own use.

  • People printing dark slide decks

    A deck with a dark theme uses a lot of ink. The four looks paint their background behind the page content. In a deck whose dark background is a filled shape or a picture, that fill stays on top, so Black text on white can leave black text on the dark slide. Invert every colour, photos too flips such a page to light, as an image. Check the pages before you print.

When to invert colors, and when to pick another tool

  • You read long papers or ebooks at night and want a dark page.
  • Yellow or green text on black suits your eyes better than black on white.
  • A dark slide deck needs a light version to print. Try Black text on white, and if the slides stay dark, use Invert every colour, photos too.
  • A scan or a picture-heavy page needs a true negative.
  • You want a dark copy in which you can still search for words.

Where can I read more?

Sources

Facts checked on November 5, 2026

Do it all with indox

Invert colors FAQs

What is the difference between High contrast and inverting every colour?

High contrast draws a new background and redraws the text, and leaves pictures alone. Invert every colour, photos too turns each page into an image and flips every color, photos included, so the text can't be selected.

Can I still select the text afterwards?

On an ordinary PDF, yes in the four looks: White text on black, Yellow text on black, Green text on black and Black text on white. In our test, 488 of 488 glyphs on page 1 stayed legible and pdftotext found the same 594 characters as in the original. Not after Invert every colour, photos too, which turns pages into images. On a file whose text is set at 1 pt, the copied text came out doubled and letter-spaced.

Why did my text turn into dots?

Some PDFs set their text at 1 pt and scale it up. In our test on such a file, the high-contrast copy had every body glyph at 1 pt, so it showed as dots on black. Click Undo and try another look, Your own colours, or Adjust contrast, and check page 1 at full size.

Will my photos turn into negatives?

Not in the four looks, which leave pictures as they are. The gradient picture on our test page kept its colors. Only Invert every colour, photos too flips them.

Why did a scanned page stay white?

A scan is one picture that fills the page, and it covers the new background. Choose Invert every colour, photos too, which recolors the picture itself.

How do I invert PDF colors for printing?

The four looks paint their background behind the page content. In a deck whose dark background is a filled shape or a picture, that fill stays on top, so Black text on white can leave black text on the dark slide. Invert every colour, photos too flips such a page to light, as an image. For an ordinary text PDF, Black text on white gives a light page with selectable text.

Does this change my file or only how it looks?

It makes a new PDF with the new colors, built on indox's server. If you are not signed in, the upload and the result are deleted 24 hours after the job ends. Your original is not changed, and Undo brings it back in the editor. A dark mode in a PDF reader changes only the display and gives you no new file. A signed-in account keeps them in its history instead.

Can I choose my own colors?

Yes. Switch the What to change control to Your own colours, or open Replace colors, and pick a background and a text color.

Can I invert only some pages?

No. The panel recolors the whole document and has no page range.

Can I undo it?

Yes. Undo brings the original back. Download PDF saves the recolored file.

How big is the file afterwards, and how long does it take?

In our test, the high-contrast look took 4.1 seconds and the file went from 83,883 to 71,278 bytes, about 15% smaller. Your file will differ. Invert every colour, photos too stores each page as an image, which takes far more space than text, and the panel warns about this before you run it. Compress PDF may bring the size down.