export const prerender = true;
Generate a random pairing of heading and body fonts from Google Fonts.
What is a font pairing generator?
A font pairing generator randomly combines two complementary fonts from Google Fonts — one for headings and one for body text — to help you discover beautiful typography combinations for your projects.
How does font pairing work?
Good font pairing typically combines fonts with contrasting styles (e.g., a decorative serif heading with a clean sans-serif body) while maintaining visual harmony. The generator selects from curated heading and body font categories to ensure balanced combinations.
Can I use these fonts commercially?
Yes. All fonts in this generator are from Google Fonts, which are licensed under open-source licenses (typically SIL Open Font License). You can use them freely in both personal and commercial projects.