Skip to content
Fonts → CSS codeDeveloper tools

Google Fonts Pair Generator

Pick from 39 tested heading and body pairs, including Hindi and English pairs, or type any Google font. Preview your own words, sizes and dark mode, then copy link, CSS, Tailwind or Next.js code.

About this tool

About Google Fonts Pair Generator

Google Fonts Pair Generator helps you choose two fonts that work together, one for headings and one for text, and gives you the code to use them. Start from 39 pairs chosen by hand, filtered by style: modern, classic, elegant, bold, friendly, tech, or Hindi and English. Each card shows the two fonts in their own letters, so you can compare at a glance. The Hindi and English pairs use families such as Rozha One, Hind, Martel, Mukta, Baloo 2 and Noto Sans Devanagari, which contain Devanagari letters as well as English ones, so a bilingual site looks consistent. Choose a pair, or step through them with the arrows or Shuffle; Swap puts the body font on the headings. You can also type any family from Google Fonts, such as Lexend, and it is loaded once you stop typing. The preview shows your pair as an article, a landing page or cards, on a light or dark background. Change the heading and body text to your own words, switch to Hindi sample text, and set the heading size, body size and line height with sliders; bold text and numbers show how the body font handles them. Weights are offered only where the family really has them, because asking Google Fonts for a weight a font does not have makes the whole stylesheet fail; every listed font was checked against the Google Fonts API. Save the pairs you like on this device. The code panel gives you the HTML link tags with preconnect, a CSS @import, CSS rules with custom properties and sensible fallback fonts, Tailwind settings for version 4 and version 3, and Next.js code with next/font/google, including the Devanagari subset when the pair needs it. The preview loads the fonts from Google’s servers, which see your IP address as with any site that uses them; next/font instead serves the files from your own domain.

Google Fonts Pair Generator tool

Where font pairs matter

Type that fits the job

New websites

Headings and text that match.

ExamplePoppins with Inter.

Hindi and English sites

One look in both scripts.

ExampleRozha One with Hind.

Blogs and magazines

Comfortable long reading.

ExampleLora with Open Sans.

Shops and brands

A voice for the brand.

ExampleArchivo Black with Archivo.

Developers

Code for Tailwind or Next.js.

Examplenext/font with subsets.

Invitations and posters

Script and display faces.

ExampleDancing Script with Lato.

Font pairing tips

Contrast without conflict

Contrast, not clash

Pair a characterful heading with a calm body face, or two weights of one family.

Load few weights

Each weight is another download; two or three is usually enough.

Check small sizes

Read the body text at 16 px on a phone before you decide.

Mind your scripts

For Hindi pages, pick fonts that include Devanagari.

Fancy letters

Unicode bold and script text.

Open Fancy Text

Fluid font sizes

CSS clamp() for headings.

Open CSS Clamp Generator
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed Google Fonts Pair Generator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 29 November 2026

Answers and guidanceFrequently Asked Questions
How do I use a pair on my site?
Copy the HTML link tags into the head of your page, or the @import into your CSS, then the CSS rules. Tailwind and Next.js code is in the other tabs.
Can I use any Google font?
Yes. Type the family name exactly as on fonts.google.com. Fonts outside the list load at their regular weight.
Which fonts work for Hindi?
The Hindi and English pairs use fonts with Devanagari letters, such as Hind, Mukta, Martel, Rozha One, Baloo 2, Teko and Noto Sans Devanagari.
Why can I not choose every weight?
Only weights the family really has are offered, because asking Google Fonts for a missing weight makes the stylesheet fail.
Are the fonts free?
Yes. Google Fonts families are open source and free for personal and commercial use.
Does the preview send data to Google?
The preview loads fonts from Google Fonts, which sees your IP address. next/font serves them from your own domain instead.
Where are my saved pairs kept?
In this browser on this device only.
More tools for your workflowRelated Tools

Fancy Font Generator

Generate fancy text with cool, stylish, and decorative fonts. Free, private, browser-based fancy font generator.

CSS Clamp Generator

Create fluid CSS clamp() values for font sizes, spacing and widths that grow smoothly between a phone and a desktop screen, in rem or px, with a live preview.

Color Contrast Checker

Check the WCAG contrast of text and background, get the nearest colors that pass, and test a whole palette in one grid.

Color Palette Extractor

Find the main colours of a photo, logo or screenshot, with their share of the picture. Tap to pick more. HEX, RGB and HSL, text contrast, and code for CSS, SCSS, Tailwind or JSON.

1 / 3
Browse all developer tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.