Best uses
- Create a clean @font-face block for one uploaded font file.
- Set the family name, weight, style, and font-display value before copying CSS.
- Prepare a small CSS file for static sites, prototypes, landing pages, and handoff notes.
Font Tools
Upload a font file and generate ready-to-paste CSS for a local webfont setup.
or drag and drop a font file here
No font selected yet.
Upload a font and click Generate CSS.
Use this tool after you already have a web-ready font file and need the CSS block that tells a browser how to load it.
The tool reads the uploaded font as a browser data URL, combines it with your CSS settings, then outputs a ready @font-face rule you can copy or download.
Upload TTF, OTF, WOFF, or WOFF2 files. For production websites, WOFF2 is usually the best delivery format when the browser support target allows it.
The font is handled in the browser. The generated CSS can include embedded font data, so keep license terms in mind before shipping commercial fonts.
If the source is still OTF or TTF, use Font to Webfont first. If you need to inspect the result visually, open Font Preview.