«   Previous tip Next tip   »

Chrome DevTools: Reveal exactly which font is being used on the inspected element

3rd July 2020
Reveal exactly which font is being used on the inspected element

In DevTools, there's a special pane for seeing exactly which font is rendered on an inspected element.

This is especially useful if you're using a web font, and have specified some fallback fonts.

In DevTools, if you inspect a piece of text, you might see this font-family property:

.text {
    font-family: 'Arial', 'Comic Sans MS';
}

But what happens if you can't visually tell which font is in use? The Rendered Fonts pane can help:

  1. Navigate to the Computed Pane in the Elements Panel
  2. Scroll until you find the 'Rendered Fonts' pane

The Rendered Fonts pane shows exactly which font is being used & how many glyphs are in use. If a web font has failed to load, and a system font, such as 'Arial' is being used, the Rendered Fonts pane will confirm this.

«   Previous tip Next tip   »

Sign up to receive a developer tip, in the form of a gif, in your inbox each week