Blog
PDF Dark Mode in Microsoft EdgeBeyond the Flags Page Hack
Turning on Edge's dark theme doesn't touch your PDFs — the page itself stays white. There's a flag that can force it dark, but it wrecks your images along the way.
Why Edge's PDF dark mode is stuck behind a flag
Edge and Chrome share the same Chromium core, so it's no surprise they share the same gap — Edge just also hides an unfinished workaround in its settings.
Edge's Dark appearance setting
Flip Edge to Dark under edge://settings/appearance and the toolbar, tabs, and menus go dark right away. Open a PDF and the page itself is exactly as bright as before — Edge's built-in viewer treats the document canvas as separate from the app chrome, same as Chrome's does, because underneath they're the same Chromium component.
The edge://flags workaround
Edge does have an experimental switch — Force Dark Mode for Web Contents — that most Chrome users don't get. Turn it on and Edge will force-darken page content, PDFs included. It comes with real caveats:
- It's a blanket filter. It doesn't distinguish text from images, so photos, logos, and charts get inverted right along with the paragraphs.
- It's buried on purpose. You have to know the exact flag name to find it — it isn't surfaced anywhere in Edge's normal settings.
- It's experimental, full stop. Flags are Microsoft's staging ground for unfinished features. The name, the default, or the flag itself can change or vanish in a later Edge release without notice.
DevTools console tricks and Edge Add-ons
If you'd rather not touch flags, there's a console one-liner some people run instead — document.embeds[0].style.filter = 'invert(0.95)' in DevTools (F12) — but it only lasts for that tab and resets the moment you reload. The Edge Add-ons store also carries a handful of “PDF Dark Mode”-style extensions built the same way as their Chrome equivalents, with the same image-inverting downsides.
What PDF Dark does differently
- No flags to hunt down, no relaunching Edge, no extension permissions
- Text and background are recolored into your theme while photos keep their real colors — nothing gets swept into one blanket filter
- Produces a downloadable dark PDF that stays dark in any viewer, not just in a tab with a flag switched on
- Your file never leaves your browser — check DevTools → Network to confirm
Using PDF Dark in Microsoft Edge
From the PDF Dark converter, drag a PDF in from your desktop or File Explorer, pick a theme, and download. Edge saves the dark version to your usual Downloads folder — open it later in Acrobat, Preview, or your phone and it's still dark, with no flag to re-enable and no extension to reinstall.
The recoloring runs the same way in every browser — vector text and background swaps, photo detection so images keep their real colors, no whole-page invert filter involved. See how the conversion works for the technical breakdown. Only reading it once? Skip the download and use the dark mode PDF reader instead.
Works on Edge for Windows, Mac, and Linux — and on Edge for Android and iOS through the mobile browser. No flags to flip, no relaunch required.
Ready to read a PDF in dark mode on Edge?
3 steps, no edge://flags, no extensions
Drop a PDF on the reader and it renders dark right in your Edge tab — no file saved, no experimental flag required.
Read a PDF in dark mode →Want to keep the file? Convert & download it instead.
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
PDF Dark Mode in Firefox
Convert PDF to Dark Mode
How to Darken a PDF
Darken a Scanned PDF Online
Invert PDF Colors, Keep Your Images
How the Conversion Works
PDF Dark Mode in Adobe Acrobat
Do You Need a PDF Dark Mode Extension?
PDF Dark Mode on Mac
PDF Dark Mode in Sumatra PDF
PDF Dark Mode on Android
PDF Dark Mode on iPad & iPhone
PDF Readers with Dark Mode, Compared
PDF dark mode in Microsoft Edge FAQ
Does Microsoft Edge have a built-in PDF dark mode?
Not really. Switching Edge itself to Dark (Settings → Appearance → Mode) darkens the toolbar, tabs, and menus, but the PDF page underneath still renders on a white background. Edge is built on Chromium, so its bundled PDF viewer behaves the same way Chrome's does here — the app theme and the document content are handled separately, and only the app theme got the dark treatment.
What is the 'Force Dark Mode for Web Contents' flag in edge://flags?
It's an experimental setting: type edge://flags into the address bar, search for "Force Dark Mode for Web Contents" (sometimes labeled Auto Dark Mode for Web Contents), and switch it from Default to Enabled, then relaunch. Once on, Edge force-darkens rendered page content, PDFs included. It's not something most people stumble into — flags are tucked away specifically because they're unfinished — and the name or behavior can change or disappear in a future Edge update, since that's the nature of a flags page.
If I enable that flag, will my PDF actually look good?
For a plain text document, it's passable. For anything with photos, a logo, or a colored chart, no — the flag applies one blanket filter to everything on the page. It doesn't know the difference between a paragraph of text and a product photo, so both get inverted the same way. Expect washed-out or color-flipped images sitting next to your now-dark text.
What's the F12 Console trick people mention for Edge PDFs?
Open DevTools (F12), go to the Console tab, and run document.embeds[0].style.filter = 'invert(0.95)' while viewing a PDF. It inverts the embedded PDF viewer on the spot. It works, but it's a manual, one-tab, one-session fix — reload the page or open a new PDF and you're typing it in again. It's really a trick for people comfortable poking at DevTools, not a real workflow.
Are there Microsoft Edge Add-ons for PDF dark mode?
Yes, the Edge Add-ons store carries a few extensions with names along those lines, built the same way as their Chrome Web Store counterparts — a CSS invert filter over the page. They carry the same trade-offs: images get inverted along with text, and you're granting a browser extension permission to read and modify the page.
Is my PDF uploaded anywhere when I use PDF Dark?
No. The conversion runs entirely inside your Edge tab through the File API and a Web Worker. Open DevTools → Network while you use the tool and you won't see a request carrying your file anywhere.