Developer tools

WhatFont: identify website fonts and copy their styles

Hover over text to identify its font, keep the useful style details and check the font's own license before reuse.

Get extension

WhatFont identifies website typography when you point at text, then lets you open details and copy the values you need. I'd start with it when the question is “Which font is this heading using?” Keep the font name, weight and surrounding styles together; identifying a typeface and obtaining permission to reuse it are separate steps.

A serif blue letter a and a sans-serif black letter a beside a browser pointer

Choose Chengyin Liu's WhatFont for Chrome

Use the Chrome installation link on the WhatFont developer's website. It leads to the listing associated with chengyinliu.com, with Chrome store ID jabopobgcpjmedljpbcaablpmlmfcogm. The developer's page identifies Chengyin Liu. That combination is more useful than a matching extension name when several font tools appear in search.

The current Chrome listing and release notes identify version 3.3.0. This version's changes include a redesigned details panel, real font names, font-source information, letter spacing, line height in pixels and the HTML element. Older screenshots may show a different panel.

These steps cover the Chrome edition. The developer's Chrome link also serves Edge and other Chromium browsers; a separately published Edge add-on isn't necessarily the same release. A Firefox port by a different publisher doesn't establish the same version, privacy disclosure or controls. The developer also offers Safari editions and a bookmarklet; don't mix their activation steps with Chrome's toolbar workflow.

Hover for a name, click for the details

Open the website containing the text, then click WhatFont in the browser toolbar. Point at the heading or paragraph you want to inspect. The developer's instructions describe a name on hover; click the text to pin its details. Press Esc when you're finished.

A pointer over a blue heading with the WhatFont tooltip source-sans-pro beside it
The hover label identifies the text under the pointer. Click the text for more detail, and open this image for a larger view.

The example label shows source-sans-pro. That's a font-name example, not a result to expect on every website. Move between the page's heading and body text rather than assuming both use the same family or weight.

I'd record the details for the specific text I want to match. A typeface's name alone leaves out the weight, size, spacing and line height that can make the same family look quite different. WhatFont's developer describes name, size, weight and color in the basic workflow; the Chrome release notes add the newer detail fields.

For text baked into a logo, photograph or other image, switch to an image-matching tool. MyFonts' WhatTheFont matches fonts from an uploaded image; it serves a different job from inspecting a webpage's text styles. Keep private content out of the upload, use clear horizontal Latin text with letters that don't overlap, and crop to one line if needed. Compare the candidate matches with your sample before choosing a font; a similar result doesn't establish the original font or grant its license.

Copy the value that answers your design question

In version 3.3, the developer says you can click an individual value to copy it or copy all the CSS at once. Copy one value when your task is just to identify the family. Keep the full set of relevant styles when you're documenting the appearance of a particular element.

Don't interpret a list of font names as a list of fonts all being used at once. The CSS font-family property defines a prioritized list. The browser chooses an available font and can fall back for individual characters. A generic entry such as sans-serif describes a fallback category, rather than one font you can buy or download.

I'd keep the element's context with the copied values: the page, which heading or paragraph it belongs to, and the detail you're trying to reproduce. That makes it easier to distinguish “identify this typeface” from “recreate this element's typography.” Copying CSS is useful evidence for the second job, but it isn't a complete website design system.

Check the font's own license before reusing it

Use the identified name and source to find the font's publisher or official project. Read that font's license before putting it in your own project. WhatFont's identification and CSS copying don't grant a new license to the font.

For a family distributed through Google Fonts, the Google Fonts repository explains where each family's license is stored. Its instructions explicitly say to read the license for every font you use. Don't extend one family's terms to another font just because both names appeared on a website.

If your task is only to choose a visual direction, save the name and the styles that interested you first. Decide whether to obtain that font or choose another with suitable terms before building the rest of the design around it.

Check activation and file access before replacing the extension

A missing toolbar icon is an installation or pinning question before it's a font question. Google's Chrome extension controls let you check whether the extension is enabled and pin it from the Extensions menu. Confirm that you're in the browser profile where you installed it.

For a local file, WhatFont's 3.3 release notes say file access must be allowed. Chrome's instructions for file access point to Allow access to file URLs in the extension's details. Grant that access deliberately when you need to inspect local files; changing it isn't a necessary first step for an ordinary website.

The same WhatFont release notes say the extension explains when it can't run on a page. Read that explanation and try an ordinary website before reinstalling. The Chrome listing says the developer doesn't collect or use your data; that disclosure belongs to this publisher's edition, so check identity before approving a similarly named replacement.

Save a typography change in the tool responsible for it

Inspection and editing lead to different outcomes. WhatFont helps you identify and copy typography information. If your next step is a persistent change on a website you use, the Stylus guide covers saving a style for a specific site. Keep the scope narrow so the change applies to the intended page or domain.

For a font-identification session, stop once you have the right element's name and useful style values. Exit WhatFont with Esc, check the font's official license, then make the design decision those details were meant to support.

About Rasmus Senlogan

I build desktop applications, browser extensions and plugins. I created ExtensionTools to organize the tools I've collected and built, and help others find useful software.

Compare your shortlist

Different tools solve different problems. Start with the task.

For current pricing and permissions, check the developer's website and your browser's extension store.

Useful for

Before you add it

Available for

Visit official website

Choose your browser on the developer's website. Review the store listing and requested permissions before installing.