Skip to content

Webfont Generator (@font-face Kit)

Turn TTF or OTF fonts into a web kit: WOFF2, WOFF and the original file plus ready @font-face CSS with the right weight and style.

Drop files here or click to choose Files never leave your device
    Options

    How to use Webfont Generator (@font-face Kit)

    1. Add the TTF or OTF fonts of a family (regular, bold, italic…).
    2. Optionally type the family name to use in CSS; otherwise the font's own name is used.
    3. Press Start: each font is converted to WOFF2 and WOFF, and a fonts.css file is written.
    4. Download everything as a ZIP, upload the files next to your CSS, and use the family name in font-family.

    How Webfont Generator (@font-face Kit) works

    What is in the kit

    For each font you get a WOFF2 file (smallest, used by every current browser), a WOFF file and the original TTF or OTF as fallbacks, plus an @font-face rule that lists them in that order.

    Weight and style

    The weight (400, 700…) is read from the font's OS/2 table and the style (normal or italic) from its name, so regular, bold and italic files of one family work together under one family name.

    Nothing lost

    Fonts are converted table by table without changing outlines or OpenType features, so ligatures, kerning and Arabic shaping work on your website as on your computer. font-display: swap is set so text shows at once while the font loads.

    Comparison

    This site (in-browser)Typical upload-based sites
    Your filesNever leave your deviceSent to a remote server
    Waiting timeNo upload, no download queueUpload + processing + download
    LimitsNoneOften file-size or daily limits
    Works offlineYes, once loadedNo

    Tips for the best result

    • Give all the styles of a family the same family name so CSS picks the right file for bold and italic.
    • Preload the WOFF2 of your main font for faster pages.
    • Serve fonts from your own server to avoid third-party requests (better for privacy and GDPR).
    • Check that the font licence allows web use.

    Private by design

    Webfont Generator (@font-face Kit) runs entirely inside your browser, in background threads (Web Workers) that use your device's own processor. Your files are never uploaded to our servers, so nobody else can see them, and processing starts instantly with no upload or download wait. Once the page has loaded, the tool keeps working even without an internet connection.

    Related tools

    Frequently asked questions

    Where do I put the files?

    In the same folder as fonts.css, or change the url() paths in the CSS to where you upload them.

    Do I still need WOFF and TTF?

    Only for very old browsers; you can remove them and keep WOFF2.

    Can I keep only some characters to make files smaller?

    Not in this tool yet; the whole font is kept so no character goes missing.

    Does it work with variable fonts?

    Yes, the tables are kept as they are; set the weight range in the CSS yourself if needed.

    Are my files uploaded?

    No. The files are read and written by JavaScript and WebAssembly in your browser. Nothing is sent to FileToolsPlus or any other server.

    Is there a size limit?

    Nothing is uploaded, so there is no upload limit. Your device's memory sets the practical limit: a few hundred MB work on a computer, less on a phone.

    Is it free?

    Yes, without sign-up, limits on the number of files or watermarks.