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.
.svg
- Zero Node/Gulp CLI
- WOFF2 + TTF + icons.css
- Editable PUA codepoints
Benchmark & Expected Output
3 SVGs → 1.9 KB WOFF2 + CSSBefore (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
| Property | Source: SVG | Target: WOFF2 |
|---|---|---|
| File extension | .svg | .woff2 |
| Compression | Text / optional gzip | Brotli (entropy + table transform) |
| Outline / Curve | XML Path Vector | Quadratic or Cubic SFNT |
| Browser support | Universal (Web + OS) | All Modern Browsers (97%+) |
| OpenType GSUB/GPOS | No | Yes |
| Best for | Converting 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.
Drop SVG icons
Select multiple clean monochrome .svg vector icons from Figma or Illustrator.
Customize prefix & names
Edit class names, CSS prefix, font-family name, and preview icon thumbnails.
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.
Format specs
Next step