Compile SVG Icons into a WOFF2 IconFont

Drop monochrome .svg icons, customize class names and Private Use Area codepoints, and compile a complete WOFF2 + TTF IconFont ZIP with icons.css and demo.html — zero Node CLI or uploads.

drop multiple .svg icon files · exports .woff2, .ttf, icons.css & demo.html

.svg

  • Zero Node/Gulp CLI
  • WOFF2 + TTF + icons.css
  • Editable PUA codepoints
100% browser-localVerify 0 bytes sent in Network tab

Benchmark & Expected Output

3 SVGs → 1.9 KB WOFF2 + CSS

Before (Input)

SVG Icons (3 files) · icon-home.svg (3 SVGs (4.2 KB))

After (Output)

WOFF2 IconFont ZIP · fontto-icons.zip containing .woff2, .ttf, icons.css & demo.html

Source vs. target font specification comparison
PropertySource: SVGTarget: WOFF2
File extension.svg.woff2
CompressionText / optional gzipBrotli (entropy + table transform)
Outline / CurveXML Path VectorQuadratic or Cubic SFNT
Browser supportUniversal (Web + OS)All Modern Browsers (97%+)
OpenType GSUB/GPOSNoYes
Best forConverting logos/headings into pure resolution-independent vector paths (no font needed) or bundling SVG icons into a local WOFF2 IconFont.Production web typography across all modern browsers, delivering 40%–60% smaller payloads than TTF/OTF and ~30% smaller files than WOFF 1.0.

How it works

How to use SVG to IconFont locally in your browser

Compile monochrome SVG icons into a WOFF2 + TTF IconFont with PUA codepoints, icons.css, and demo.html locally.

  1. Drop SVG icons

    Select multiple clean monochrome .svg vector icons from Figma or Illustrator.

  2. Customize prefix & names

    Edit class names, CSS prefix, font-family name, and preview icon thumbnails.

  3. Download IconFont ZIP

    Export the complete package with WOFF2, TTF, icons.css, and interactive demo.html.

FAQ

Frequently asked questions

Why convert SVG strokes to outlines before building an IconFont?

TrueType glyph tables render filled closed contours; outline strokes in Figma or Illustrator first for crisp icons.

What codepoints are assigned to compiled icons?

Icons start at Private Use Area U+E001 and increment cleanly with matching CSS content escapes.

Does FontTo upload my proprietary brand SVG icons?

Never. SVG parsing and SFNT/WOFF2 font compilation run 100% locally in your browser.