Enter Font Details
Fill in your font family name, weight, style, and URLs. Or upload a font file for base64 encoding.
Generate CSS @font-face rules and base64-encoded font files with Fontava's free font converter. Convert TTF, OTF, WOFF, and WOFF2 to data URIs and get production-ready code instantly.
| Format | Compression | Chrome | Firefox | Safari | Edge | IE | Use Case |
|---|---|---|---|---|---|---|---|
| WOFF2 | Best (30-50% smaller) | Modern browsers (primary format) | |||||
| WOFF | Good (compressed) | (9+) | Fallback for older browsers | ||||
| TTF | None (uncompressed) | (9+) | Desktop fallback, print | ||||
| OTF | None (uncompressed) | (9+) | Advanced typography features | ||||
| EOT | Compressed (IE only) | (6-11) | Legacy IE support only | ||||
| SVG | N/A (vector-based) | (deprecated) | Deprecated; avoid using |
Fill in your font family name, weight, style, and URLs. Or upload a font file for base64 encoding.
Click the generate button. The tool builds production-ready @font-face CSS rules or base64 data URIs instantly.
Copy the generated CSS or data URI and paste it directly into your stylesheet or HTML. Your font is ready to use.
Fontava's font converter helps web developers, designers, and typographers prepare fonts for the web. Generate correct @font-face syntax without memorizing the format.
Explore Fontava's font generator, previewer, and more tools to complete your typography workflow.
Font GeneratorThis website uses cookies to ensure you get the best experience on our website.