Small-caps generator for variable fonts
Create and compare small-caps for installed or Google fonts (created with AI).
Start with a font
Choose a Google font, enter an installed family, or open a font file using the panel on the left.
Your preview, outline comparison, and CSS will appear here.
Show lines
The bottom two available lines are overlaid on a shared baseline.
Copy the chosen CSS
JavaScript
Run after the small-caps markup, or load with defer.
Usage and fit details
Use <span class="smcp">Lord</span> inside .smcp-text. One span per word, spaces outside.
HTML + CSS and measurements
Take the recipe with you
The recipe below includes the markup and any width-correction script required by your selected mode. URL imports retain their source; installed faces use local(). File imports need your own licensed font URL.