Skip to content

Font Preview

Embed

Paste this where you want Font Preview on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/font-preview/" width="100%" height="500" frameborder="0" loading="lazy" title="Font Preview"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/font-preview/">Font Preview</a> by BrowserUtils</p>

Preview text in different web-safe and Google fonts.Runs in this tab.

Style
Preview

The quick brown fox jumps over the lazy dog

Inter is a variable font: any weight from 100 to 900, upright and italic.

All Fonts Comparison

Every font with the settings above. Amber notes mark a weight or italic a Google font doesn't have.

Inter

The quick brown fox jumps over the lazy dog

Roboto

The quick brown fox jumps over the lazy dog

Open Sans

The quick brown fox jumps over the lazy dog

Lato

The quick brown fox jumps over the lazy dog

Montserrat

The quick brown fox jumps over the lazy dog

Poppins

The quick brown fox jumps over the lazy dog

Raleway

The quick brown fox jumps over the lazy dog

Nunito

The quick brown fox jumps over the lazy dog

Playfair Display

The quick brown fox jumps over the lazy dog

Merriweather

The quick brown fox jumps over the lazy dog

Source Code Pro

The quick brown fox jumps over the lazy dog

Fira Code

The quick brown fox jumps over the lazy dog

JetBrains Mono

The quick brown fox jumps over the lazy dog

Space Grotesk

The quick brown fox jumps over the lazy dog

DM Sans

The quick brown fox jumps over the lazy dog

Arial

The quick brown fox jumps over the lazy dog

Verdana

The quick brown fox jumps over the lazy dog

Helvetica

The quick brown fox jumps over the lazy dog

Tahoma

The quick brown fox jumps over the lazy dog

Trebuchet MS

The quick brown fox jumps over the lazy dog

Times New Roman

The quick brown fox jumps over the lazy dog

Georgia

The quick brown fox jumps over the lazy dog

Garamond

The quick brown fox jumps over the lazy dog

Courier New

The quick brown fox jumps over the lazy dog

Lucida Console

The quick brown fox jumps over the lazy dog

Monaco

The quick brown fox jumps over the lazy dog

system-ui

The quick brown fox jumps over the lazy dog

sans-serif

The quick brown fox jumps over the lazy dog

serif

The quick brown fox jumps over the lazy dog

monospace

The quick brown fox jumps over the lazy dog

Next step

About Font Preview

Where the fonts come from

The list has 30 entries in two groups, and they load differently.

Google Fonts (15). When the tool opens, it adds one stylesheet link to fonts.googleapis.com that asks for all fifteen families with the weights and italics each one has. That request contains only family names, weights and styles, never your sample text. The browser then downloads font files from fonts.gstatic.com only when text needs them, so an italic file arrives the first time you choose Italic. Google splits each family into script subsets and the browser fetches only the subsets your text uses, so check coverage before you choose a font for non-English content:

Font Type Scripts served
Inter Sans-serif Latin, Cyrillic, Greek, Vietnamese
Roboto Sans-serif Latin, Cyrillic, Greek, Vietnamese
Open Sans Sans-serif Latin, Cyrillic, Greek, Hebrew, Vietnamese
Lato Sans-serif Latin
Montserrat Sans-serif Latin, Cyrillic, Vietnamese
Poppins Sans-serif Latin, Devanagari
Raleway Sans-serif Latin, Cyrillic, Vietnamese
Nunito Sans-serif Latin, Cyrillic, Vietnamese
Space Grotesk Sans-serif Latin, Vietnamese
DM Sans Sans-serif Latin
Playfair Display Serif Latin, Cyrillic, Vietnamese
Merriweather Serif Latin, Cyrillic, Vietnamese
Source Code Pro Monospace Latin, Cyrillic, Greek, Vietnamese
Fira Code Monospace Latin, Cyrillic, Greek
JetBrains Mono Monospace Latin, Cyrillic, Greek, Vietnamese

“Latin” includes the extended Latin subset. None of the fifteen covers Chinese, Japanese, Korean or Arabic. Characters a font lacks are drawn from a fallback font, so mixed-script text can show two typefaces in one line.

Installed fonts (15). Arial, Verdana, Helvetica, Tahoma, Trebuchet MS, Times New Roman, Georgia, Garamond, Courier New, Lucida Console and Monaco aren’t downloaded. They show only if your device has them. Monaco and Helvetica come with macOS but not Windows, and Lucida Console comes with Windows but not macOS. Most Linux systems have none of these, though many distributions substitute the metric-compatible Liberation fonts for Arial, Times New Roman and Courier New. The list ends with the four generic families: system-ui, sans-serif, serif and monospace.

Named fonts use the stack '<font>', sans-serif, so a missing font quietly falls back to your default sans-serif, even when the missing font is a serif like Georgia. To check, find the font in the comparison list and compare it with the sans-serif row. If the two look the same, the font isn’t installed. The four generic families are written as bare CSS keywords, without quotes, so each one shows your browser’s default font for that family, and system-ui shows your operating system’s interface font.

You can’t type in other font names or load font files. The list is fixed.

Weights

Each Google font loads every weight it has, so the weight menu shows the real designs, not a thickened regular. Thirteen of the fifteen are variable fonts, where one file per style holds every weight in the range. Lato and Poppins are static, with a separate file for each weight.

Font Weights Italic
Inter 100–900 Yes
Roboto 100–900 Yes
Open Sans 300–800 Yes
Lato 100, 300, 400, 700, 900 (static) Yes
Montserrat 100–900 Yes
Poppins All nine from 100 to 900 (static) Yes
Raleway 100–900 Yes
Nunito 200–900 Yes
Playfair Display 400–900 Yes
Merriweather 300–900 Yes
Source Code Pro 200–900 Yes
Fira Code 300–700 No
JetBrains Mono 100–800 Yes
Space Grotesk 300–700 No
DM Sans 100–900 Yes

Nunito and DM Sans go up to 1000 on Google Fonts, but the menu stops at 900.

If you pick a weight a font doesn’t have, the browser draws the nearest one it does. A variable font stops at the end of its range, so Playfair Display at 100 draws 400. A static font follows the CSS matching rules: Lato at 200 draws 100, at 500 draws 400, at 600 draws 700 and at 800 draws 900. The menu marks those options, as in “600 SemiBold · shows 700”, and an amber note under the preview names the weight you’re actually seeing. None of the Google fonts here gets a faked bold, because each has a real face at 700 or heavier.

Installed fonts aren’t marked, because a web page can’t see which weights your system has. Most of them come in regular and bold only, so 100–500 look like 400 and 600–900 look like 700. Monaco has only a regular, so from 600 up the browser fakes a bold by thickening the regular outlines.

Italic

The Style buttons switch between normal and italic. Thirteen of the Google fonts load their real italic, the separate design that ships with the family. Fira Code and Space Grotesk have no italic. If you choose Italic with either one, the browser slants the upright letters instead. That synthesized slant isn’t a designed italic, so the tool flags it under the preview and in the comparison list. On your own site, font-synthesis-style: none makes the browser keep the text upright instead of faking the slant.

Installed fonts use their own italic if your system has one and a synthesized slant if not. The tool can’t tell which.

Controls

Control Range Default
Size 8–72 px, 1 px steps 24 px
Weight 100–900, steps of 100 400
Style Normal or Italic Normal
Letter spacing −5 to 20 px, 0.5 px steps 0
Line height 0.8–3, 0.1 steps (unitless) 1.5
Color Picker, or any CSS color in the text box Near-black, or near-white in dark mode, until you change it

The sample is a single-line field, so line height only shows once the preview wraps. Type a long sample or raise the size to see it. The All Fonts Comparison list renders all 30 entries with every setting above. Rows for Google fonts that lack the chosen weight or italic carry an amber note, such as “no 100, shows 300”.

Samples worth typing

The default pangram shows every letter but not much else. Try these:

  • Il1| O0 rn m: shows whether capital I, lowercase l, 1 and the pipe, O and zero, and rn and m are easy to tell apart. That matters for code, passwords and serial numbers.
  • => != === -> www: Fira Code and JetBrains Mono, as Google serves them, join these into ligatures (JetBrains Mono leaves www alone). Source Code Pro has no ligatures. To turn them off in your CSS, use font-variant-ligatures: none.
  • Hamburgefonstiv: the classic type-specimen word, which covers most lowercase shapes in a short string.
  • 0123456789 $€£¥ “quotes” — …: numerals, currency, curly quotes and dashes, which are where fallback glyphs most often appear.
  • Your real headings and button labels, at the size you’ll use them.

From preview to CSS

These settings map directly to CSS. Letter spacing in px doesn’t scale with the text, so convert it to em by dividing by the font size. 0.5 px at 24 px is about 0.02em:

font-family: 'Inter', sans-serif;
font-size: 24px;          /* 1.5rem at the default 16px root */
font-weight: 400;
font-style: normal;       /* or italic */
letter-spacing: 0.02em;
line-height: 1.5;

Your page also has to load each weight and style you use. If it doesn’t, the browser falls back to the nearest weight it did load, or fakes the bold or italic. Ask Google for a range on a variable font and a list on a static one:

<!-- variable font: one file per style covers the whole range -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap">
<!-- static family: list each weight, upright (0) first, then italic (1) -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap">

Check the weights table before you ask. Google silently leaves out a weight a family doesn’t have, so Lato:wght@200;400 returns only 400, and a request with nothing valid left fails with HTTP 400. If you need only one weight of a variable font, request just that weight (Inter:wght@400). Google then sends a static file, about 24 KB for Inter’s Latin subset instead of 48 KB for the variable one.

The px to rem converter handles the size conversion, and the color contrast checker tells you whether your text color is readable on its background. For loading strategy, subsetting and font-display, see the web fonts guide.

Questions

What fonts are available?
Fifteen Google Fonts (Inter, Roboto, Open Sans, Lato, Montserrat, Poppins, Raleway, Nunito, Playfair Display, Merriweather, Source Code Pro, Fira Code, JetBrains Mono, Space Grotesk and DM Sans), eleven common installed fonts such as Arial, Georgia and Courier New, and the generic families system-ui, sans-serif, serif and monospace. Installed fonts show only if your device has them. The list is fixed, so you can't add other fonts.
Can I adjust font properties?
Yes. You can set the size, weight (100 to 900), normal or italic style, letter spacing, line height and color. Google fonts load their real weights and italics. If a font lacks the weight or italic you pick, the tool says which weight it is showing instead, or that the slant is faked.
How do I compare two fonts side by side?
Scroll the All Fonts Comparison list under the preview. It shows your sample text in all 30 fonts with the same size, weight, style, letter spacing, line height and color, so you can compare them without switching back and forth.
Are Google Fonts free to use in commercial projects?
Yes, all Google Fonts are open-source and licensed for free use in both personal and commercial projects, including web, print, and app design.

More in CSS & Design

All 22 css & design