Comprehensive Tutorial

How to Force Dark Mode on Chrome Websites

Whether you're reading articles late at night or coding in the dark, glaring white websites cause uncomfortable eye strain. Here is how to force dark mode across every webpage in Google Chrome.

Introduction: Why Native Dark Mode Isn't Enough

When you switch your operating system (macOS or Windows) or Google Chrome itself to Dark Mode, only the browser's UI chrome turns dark — the tab bar, bookmarks, and settings.

However, most individual websites continue to serve their default blinding white CSS backgrounds unless the site developer explicitly wrote a @media (prefers-color-scheme: dark) stylesheet.

To darken the remaining 70% of the web, you have two primary methods: Chrome’s Experimental Flags or an Intelligent Dark Mode Extension. Let’s compare both.


Method 1: Using Chrome’s Built-in Experimental Flag

Chromium contains an experimental feature designed to automatically invert web content.

Steps to Enable Chrome Force Dark Flag:

  1. Open Google Chrome.
  2. In the address bar, type chrome://flags and hit Enter.
  3. In the search box at the top, type force dark.
  4. Locate the setting named Auto Dark Mode for Web Contents.
  5. Change the dropdown from Default to Enabled.
  6. Click the blue Relaunch button at the bottom of the screen.

Limitations of the Chrome Flag

  • Global Only: You cannot disable it for specific sites where colors break.
  • Image Corruption: It often inverts diagrams, photos, and video thumbnails into photographic negatives.
  • No Custom Colors: You are locked into Google’s hardcoded algorithmic color palette.
  • Browser Restart: Enabling or disabling requires restarting all open Chrome windows.

Method 2: Using ThemeSwitcher (Force Dark Mode Extension)

For users who want per-site control, protected media, customizable colors, and zero browser restarts, an extension like ThemeSwitcher is the recommended approach.

Steps to Force Dark Mode with ThemeSwitcher:

  1. Install Force Dark Mode - ThemeSwitcher from the Chrome Web Store.
  2. Navigate to any light-themed website (e.g., Wikipedia, Medium, or documentation).
  3. Click the ThemeSwitcher icon in your browser toolbar.
  4. Click the toggle button to activate dark mode instantly.

Why Method 2 is Superior for Daily Browsing:

  • Automatic Engine Selection: Scans the DOM and applies the best engine (Auto, CSS Override, or Invert).
  • Native Dark Protection: If a site natively supports dark mode (like YouTube, GitHub, or Reddit), ThemeSwitcher automatically respects it and doesn't interfere.
  • Color Customizer: Choose between pitch black for OLED screens or a midnight slate palette.
  • PDF & Document Dark Viewer: Read local or web PDFs in high-contrast dark mode with built-in PDF.js rendering.
  • 100% Offline & Private: No user data, analytics, or browsing history is ever transmitted.

Pro Tip: Customizing Background Colors per Website

From the ThemeSwitcher popup, click the CSS background color picker. Choose your preferred shade (e.g. #000000 or #12161f). The extension recalculates borders, text, and surfaces to maintain WCAG AA contrast automatically.

Summary: Which Method Should You Use?

If you just want a quick, all-or-nothing test and don't mind distorted media, Chrome flags are built right in. But if you value readability, preserved photos, per-domain control, and a dark PDF reader, ThemeSwitcher offers the most reliable, eye-friendly solution.

Get Instant Dark Mode for All Websites

Download ThemeSwitcher today and enjoy comfortable, glare-free web reading.

Add to Chrome — Free