User Agents

Web browsers and everyday web tech, explained

How to Enable Dark Mode on Websites in Chrome

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Dark mode reduces eye strain in low light and saves battery on OLED screens. In Chrome, you can force dark mode on websites that don't offer it natively, or use the browser's built-in flag to auto-convert light pages. This guide covers both methods, plus how to revert changes if something looks off.

What You'll Need

  • Google Chrome (desktop version, updated to the latest release)
  • Administrator access to your computer (to change flags, though usually not required)
  • A stable internet connection (for downloading extensions if you choose that route)

Step-by-Step

  1. Check if the website already has a dark mode toggle. Many sites (like YouTube, Twitter, and Reddit) have a theme switcher in their settings. Look for a moon icon or a “Theme” option in the site's menu. If found, enable it directly—this is the cleanest method.
  2. Use Chrome's built-in dark mode flag (for all sites).
    1. Type chrome://flags in the address bar and press Enter.
    2. In the search box, type “Auto Dark Mode for Web Contents”.
    3. Click the dropdown next to that flag and select “Enabled”.
    4. Click “Relaunch” at the bottom of the page to restart Chrome with the change.
  3. Enable dark mode via Chrome's appearance settings (for browser UI only).
    1. Click the three-dot menu (⋮) in the top-right corner.
    2. Go to “Settings” → “Appearance”.
    3. Under “Theme”, select “Dark”. This changes the browser chrome (toolbar, menus) but not website content.
  4. Use a third-party extension for per-site control.
    1. Go to the Chrome Web Store and search for “dark mode” or “night mode”. Popular choices include “Dark Reader” and “Midnight Lizard”.
    2. Click “Add to Chrome” and confirm the installation.
    3. Click the extension icon in the toolbar to toggle dark mode on/off for the current site.
  5. Force dark mode on a single site using Chrome's DevTools (temporary).
    1. Right-click on the page and select “Inspect” (or press F12).
    2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command menu.
    3. Type “Rendering” and select “Show Rendering”.
    4. Under “Emulate CSS media feature prefers-color-scheme”, choose “prefers-color-scheme: dark”. This forces the site to use its dark mode CSS if it has any.

Common Mistakes

  • Enabling the flag but not restarting Chrome – The flag won't take effect until you click “Relaunch”.
  • Confusing browser theme with site dark mode – Changing Chrome's appearance only affects the browser interface, not the web pages you visit.
  • Using an extension that conflicts with site's own dark mode – Some extensions force their own colors, overriding the site's native dark theme. Turn off the extension for that site if you prefer the site's version.
  • Forgetting to update Chrome – Older versions may not have the Auto Dark Mode flag or may behave differently.

Tips

  • If you use the flag method, some images and videos may look inverted or washed out. You can disable the flag for specific sites by using the site's own toggle if available.
  • Extensions like Dark Reader let you customize contrast, brightness, and sepia filters—useful for reading long articles.
  • On mobile Chrome (Android), you can enable dark mode by going to Settings → Theme → Dark, but this also affects websites only if the site supports it. For iOS, the same applies via system-wide dark mode.
  • If a site uses inline styles (rare), the flag may not override them. In that case, an extension is more reliable.

Troubleshooting

  • Dark mode doesn't apply to a specific site – The site might use inline styles or images with white backgrounds. Try an extension like Dark Reader, which can force styles.
  • Text becomes unreadable or colors look weird – Disable the flag and rely on the site's native dark mode or an extension with better color filtering.
  • The flag is missing – Ensure Chrome is up to date. If it's still missing, your Chrome version may not support it (older versions). Update Chrome via Settings → About Chrome.
  • After enabling the flag, some pages appear completely black – This can happen if the site's CSS isn't compatible. Turn off the flag and use a per-site extension instead.
  • Chrome doesn't relaunch after clicking “Relaunch” – Manually close and reopen Chrome. Make sure you've saved any open tabs if you have “continue where you left off” disabled.

Frequently Asked Questions

Does dark mode save battery on all devices?

Only on OLED and AMOLED screens, where black pixels are turned off. On LCD screens, the backlight stays on, so battery savings are negligible.

Will the flag affect all websites automatically?

Yes, the “Auto Dark Mode for Web Contents” flag attempts to convert all websites to dark mode, but the result depends on the site's design. Some sites may look fine, others may have contrast issues.

Can I enable dark mode only for certain websites?

Yes, using an extension like Dark Reader, you can whitelist or blacklist specific domains. The flag method applies globally, but you can disable it per site with the site's own toggle if available.

Does dark mode work in incognito mode?

Yes, flags and extensions work in incognito mode, but extensions must be enabled for incognito in the extension's settings (toggle “Allow in Incognito”).

Why do some images look inverted in dark mode?

When the flag forces dark mode, it may invert colors on images that have transparent backgrounds or that are designed for light backgrounds. This is a known limitation. Extensions often handle images better by leaving them untouched.

Can I use dark mode on Chrome for Android?

Yes, go to Chrome settings → Theme → Dark. This will apply dark mode to the browser UI and to websites that support it. For sites that don't, you can enable the same flag by visiting chrome://flags on Android.