Google Fonts Pair Finder screenshot

Google Fonts Pair Finder

Pair two Google Fonts and get an @import line plus a proportional type scale for h1 to h4. Twelve curated families, real fallback stacks.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What the font pairing tool does

Two purpose-built families beat a random pair: a display face for headings and a text face for body copy, each with a fallback stack that keeps the page readable while the webfont loads or if it never does. The @import line is the one external URL this tool emits, and it must stay at the top of the stylesheet. The type scale is computed as base size multiplied by the ratio for each heading level, so h1 to h4 stay in proportion when you change either number. The preview here uses the fallback stack because the sandboxed frame does not fetch fonts, and the sizes are px, which do not follow a reader's browser font-size preference.

How to use it

The Google Fonts Pair Finder page needs no pasted input: set Heading font (default "Playfair Display"), Body font (default "Inter"), Base size (px), default "16" and Scale ratio (default "1.25"), then press Run to build a new CSS.

Worked example

Input:


Output:

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400&display=swap');



/* Type scale: 16px base raised by 1.25 for each heading level, rounded to two decimals. */

:root {
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --type-base: 16px;
  --type-ratio: 1.25;
  --type-small: 12.8px;
  --type-h4: 16px;
  --type-h3: 20px;
  --type-h2: 25px;
  --type-h1: 31.25px;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: var(--type-h1);
}

h2 {
  font-size: var(--type-h2);
}

h3 {
  font-size: var(--type-h3);
}

h4 {
  font-size: var(--type-h4);
}

Why it runs in your browser

The result is produced on this page with JavaScript, so it works offline after the page loads and nothing you enter is sent anywhere.

Two purpose-built families beat a random pair: a display face for headings and a text face for body copy, each with a fallback stack that keeps the page readable while the webfont loads or if it never does. The @import line is the one external URL this tool emits, and it must stay at the top of the stylesheet. The type scale is computed as base size multiplied by the ratio for each heading level, so h1 to h4 stay in proportion when you change either number. The preview here uses the fallback stack because the sandboxed frame does not fetch fonts, and the sizes are px, which do not follow a reader's browser font-size preference.

Pair two Google Fonts and get an @import line plus a proportional type scale for h1 to h4. Twelve curated families, real fallback stacks.

How to use it

The Google Fonts Pair Finder page needs no pasted input: set Heading font (default "Playfair Display"), Body font (default "Inter"), Base size (px), default "16" and Scale ratio (default "1.25"), then press Run to build a new CSS.

Why it runs in your browser

The result is produced on this page with JavaScript, so it works offline after the page loads and nothing you enter is sent anywhere.

What to Expect

What this tool keeps

  • The result is produced on this page with JavaScript, so it works offline after the page loads and nothing you enter is sent anywhere.

Sample output

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400&display=swap'); /* Type scale: 16px base raised by 1.25 for each heading level, rounded to two decimals. */ :root { --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif; --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --type-base: 16px; --type-ratio: 1.25; --type-small: 12.8px; --type-h4: 16px; --type-h3: 20px; --type-h2: 25px; --type-h1: 31.25px; } body { font-family: var(--font-body); font-size: var(--type-base); line-height: 1.6; } h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-heading); font-weight: 700; line-height: 1.2; } h1 { font-size: var(--type-h1); } h2 { font-size: var(--type-h2); } h3 { font-size: var(--type-h3); } h4 { font-size: var(--type-h4); }

Frequently asked questions

How do I use the google fonts pair finder?

The Google Fonts Pair Finder page needs no pasted input: set Heading font (default "Playfair Display"), Body font (default "Inter"), Base size (px), default "16" and Scale ratio (default "1.25"), then press Run to build a new CSS.

Is my input uploaded?

Nothing is uploaded. The result is produced on this page.

Is there a size limit?

No: nothing is pasted, so there is no input size to exceed.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.