Coming soon to Chrome

Font finder extension that works on localhost and local HTML files (file://)

Updated

Short answer: Kernhue is a free Chrome extension that identifies fonts, colors and CSS on localhost dev servers and on HTML files opened from your computer (file://). Localhost works right away. For local files, Chrome needs one switch: open chrome://extensions, click Details on Kernhue and turn on Allow access to file URLs. Then hover any text to see the font that is actually rendering.

Why font finders seem to “not work” on local files

Chrome does not let any extension run on file:// pages until you allow it, one extension at a time (Chrome’s extension docs). The switch is off by default, so a font finder can look broken on a local HTML file even though nothing is wrong with the page. Localhost is different: a dev server at http://localhost:3000 or http://127.0.0.1:5500 is an ordinary web page to Chrome and needs no extra permission.

Turn on “Allow access to file URLs” for Kernhue (once)

  1. Open chrome://extensions in a new tab, or right-click the Kernhue icon and choose Manage extension.
  2. Find Kernhue and click Details.
  3. Turn on Allow access to file URLs.
  4. Go back to your local HTML file, reload it, and press Alt+Shift+K.

You don’t have to remember this: if you click Kernhue on a local file while the switch is off, its popup says so and opens Kernhue’s settings page in Chrome with one click. Kernhue’s own settings page also shows whether file access is on.

What you can check on localhost and local files

Kernhue pinned on a heading: the rendered font, size, weight, line height, text color with WCAG contrast, and copy-ready CSS.

Other ways that work on local pages

Where Kernhue helps most

Switching from WhatFont? See WhatFont alternative.

Questions

Can a Chrome extension identify fonts on a local HTML file?

Yes, once you allow it. Chrome blocks every extension from file:// pages until you turn on Allow access to file URLs for that extension in chrome://extensions (Chrome extension docs). Kernhue is built to work there: after the switch, hover any text on the local file to see its font.

Why is WhatFont not working on localhost or file:// pages?

On file:// pages the usual cause is Chrome’s file-access switch, which is off by default for every extension. WhatFont’s Chrome Web Store listing shows its last update on March 4, 2024, and a recent review there reports it not working on local HTML files (checked 2026-10-06). Kernhue tells you when the switch is off and opens the right settings page for you.

Does Kernhue need any setting for localhost?

No. localhost, 127.0.0.1 and other local dev servers are normal web pages to Chrome, so Kernhue works there right away — press Alt+Shift+K or click its icon.

Does turning on file access let Kernhue read my files?

No. Kernhue still runs only on the tab you choose, after you click it or press its shortcut (activeTab). The switch only allows it to run on a local page you have open; it does not browse your disk. Free features run in your browser and never upload page content; opening the panel only checks your plan status with a random ID.

Does this work in Edge or Brave?

Kernhue is a Chrome extension and runs in Chromium-based browsers. Those browsers have the same “Allow access to file URLs” switch on the extension’s details page (for example edge://extensions).

Try Kernhue

Kernhue is a font finder, color picker and CSS inspector for Chrome. Hover any text to see the font that is actually rendering, pick colors in HEX, RGB, HSL or OKLCH, copy clean CSS for any element, and export a page’s colors, type scale and spacing as CSS variables, Tailwind or design-token JSON.

Coming soon to the Chrome Web Store