Blog

PDF Dark Mode in ChromeNo Extension Needed

Chrome's built-in PDF viewer has no dark mode toggle. Skip the extensions and their permissions — here's the cleaner way.

By PDF Dark TeamUpdated June 19, 20268 min read

Why Chrome's PDF dark mode is broken

The shortest version: the viewer Google shipped is minimal, and the extensions trying to fix it come with baggage.

Chrome's built-in viewer

Despite Chrome respecting your OS dark theme for the browser UI, the embedded PDF viewer always renders pages on a white background. There's no toggle in chrome://settings, no command-line flag, no user pref. It's been an open issue in the Chromium bug tracker for years.

Extensions like “Dark Reader for PDF”

They apply a CSS invert filter over the page. This has three concrete problems:

  • Photos become negatives. Skies turn orange, skin turns blue. Any image gets color-flipped alongside the text.
  • Local files need extra permission. You have to manually enable “Allow access to file URLs” in chrome://extensions.
  • Broad site permissions. Most of these extensions request “Read and change all your data on the websites you visit.” That's a lot of trust for a color flip.

What PDF Dark does differently

  • Runs on one webpage — no install, no extension permissions
  • Detects image regions by saturation so photos stay in original color
  • Produces a downloadable dark-themed PDF that's dark in every viewer, forever
  • Your file never leaves your browser — verify in DevTools → Network

How PDF Dark works in Chrome

Step 1

You drop a PDF on the home page

From the PDF Dark home page, drag a PDF from your desktop or click to pick from File Explorer / Finder / Downloads. Chrome hands the file to the page via the File API — no upload happens, no extension is involved.

Step 2

Pages render in your Chrome tab

PDF.js (Mozilla's JavaScript PDF renderer, which Chrome also relies on internally) parses the file and paints each page onto a canvas inside your browser tab. The full document stays in memory locally.

Step 3

You pick a theme

Choose from Midnight, Sepia, Solarized, or OLED (pure black — best on OLED laptops). The dark-mode algorithm runs in a Web Worker so the toolbar and viewer stay smooth even on a 100-page document.

Step 4

You download the dark PDF

Click Download and Chrome saves the dark version to your usual Downloads folder. Reopen it anywhere — Acrobat, Preview, your phone, an e-reader — it stays dark forever, no per-app toggle needed.

Works on Chrome on Windows, Mac, Linux, ChromeOS, and Android. Needs modern Chrome (v90+), which covers the last 4 years of releases.

Ready to read a PDF in dark mode on Chrome?

3 steps, no Chrome extension, no permissions

Drop a PDF on the PDF Dark home page and download the dark version — runs right in Chrome.

Try PDF Dark →

More from the PDF Dark blog

Different angles on the same converter — pick the post that matches your scenario. The drop zone is at the top of every page.

PDF dark mode in Chrome FAQ

Does Chrome have a built-in PDF dark mode?

No. Chrome's PDF viewer (chrome://pdf) respects the OS dark theme for the toolbar only — the page content itself always renders on a white background. Google has been asked about this in the Chromium issue tracker for years without a fix.

Do Chrome extensions like 'Dark Reader for PDF' work?

Sort of. They apply a CSS invert filter, which makes text readable but usually breaks images (photos become negatives, charts get mangled). They also require broad permissions and most don't work on local PDF files unless you toggle 'Allow access to file URLs' manually.

Is this faster than installing an extension?

Yes. There's nothing to install — drop a PDF on this page and it converts in seconds. You also get a downloadable dark-themed PDF that you can reopen in any viewer later, not just Chrome.

What happens to images in my PDF?

They keep their original colors. Our algorithm detects image regions by pixel saturation and leaves them alone while it darkens the surrounding text and diagrams.

Does it work on Chrome for Android?

Yes. Chrome on Android supports file uploads, and the conversion runs in the phone's browser. The downloaded PDF is saved to your usual download folder.

Is my PDF uploaded to your server?

No. The entire conversion runs in your Chrome tab via the File API and a Web Worker. Open DevTools → Network while using the tool — you'll see no upload request.