Roboto
Quick Answer
Roboto is a variable sans-serif font with 3 adjustable axes (Weight, Width, Italic). Google's signature typeface. Mechanical skeleton with friendly curves, perfect for Android and Material Design.
Performance Impact
Download Time by Network
Optimization reduces Roboto from 150 KB to 15 KB — making your site faster on every device.
Try Roboto
Live Preview
Variable Axes
Roboto includes 3 variable axes, giving you fine-grained control over the font's appearance.
wght Weight
Controls weight from Thin (100) to Black (900)
wdth Width
Controls width from Condensed (75) to Normal (100)
ital Italic
Toggles between upright and italic styles
How to Optimize Roboto
Subset to Latin
Roboto supports 300+ languages. Remove unused scripts like Cyrillic, Greek, and Vietnamese.
Savings: 60-70%
Convert to WOFF2
Essential compression step. All modern browsers support WOFF2.
Savings: 25-35%
Limit to needed weights
Most designs only need 2-3 weights. Skip Thin, Light, and Black if unused.
Savings: 50-70%
Use font-display: swap
Show fallback text immediately while Roboto loads.
Savings: Performance
File Size Comparison
Sift optimizes your fonts for maximum performance with 90%+ size reduction
CSS Implementation
@font-face {
font-family: 'Roboto';
src: url('/roboto.woff2') format('woff2');
font-display: swap;
font-weight: 100 900;
}
body {
font-family: 'Roboto', sans-serif;
}For variable fonts, you can use font-variation-settings to control axes:
.custom-weight {
font-variation-settings: "wght" 400, "wdth" 100, "ital" 0;
}Pro Tips for Roboto
Match Android system font
Use Roboto for web apps that complement Android apps for visual consistency.
Enable antialiasing
Add -webkit-font-smoothing: antialiased for smoother rendering on macOS.
Consider Roboto Flex
The newer Roboto Flex variable font offers more axes including optical size.
Fallback to system-ui
system-ui provides similar metrics on most platforms.
Frequently Asked Questions
What is Roboto? ▼
Is Roboto a variable font? ▼
How do I optimize Roboto for web? ▼
What license does Roboto use? ▼
Optimize Roboto Now
Convert to WOFF2, subset to Latin, and add font-display: swap in seconds.
Optimize Roboto