Font to PBF Converter

Free Online Map Glyph Generator

font_download

Drag & drop a font file here, or browse

TTF, OTF, WOFF, WOFF2

How It Works

  1. Upload a font file Drag and drop a TTF, OTF, WOFF, or WOFF2 font file, or click to browse.
  2. Preview the font See a live preview of the font with sample text and glyph count.
  3. Generate PBF glyphs Click convert and the tool generates SDF glyph bitmaps and encodes them into PBF files for each Unicode range.
  4. Download Download a zip file containing all PBF ranges, ready to serve for your MapLibre GL or Mapbox GL map.

Features

Supported Formats

FAQ

What are PBF font files?

PBF (Protocol Buffer Format) font files contain pre-rendered SDF (Signed Distance Field) glyphs used by MapLibre GL and Mapbox GL for rendering text on vector maps. Each PBF file covers a 256-character Unicode range (e.g. 0-255, 256-511).

Is my data safe?

Yes. All processing happens entirely in your browser. Your font files are never uploaded to any server. Nothing leaves your device.

What font formats are supported?

TTF (TrueType), OTF (OpenType), WOFF, and WOFF2 font formats.

Do I need Docker or Node.js?

No. Unlike fontnik which requires a Docker container or Node.js with native C++ bindings, this tool runs entirely in your browser. No installs, no command line.

Are the PBF files compatible with MapLibre GL?

Yes. The output follows the same protobuf schema as fontnik and is fully compatible with MapLibre GL JS, Mapbox GL JS, and any map renderer that uses the standard glyph PBF format.

How do I use the generated PBF files?

Unzip the output and serve the folder via any static file server or CDN. Point your MapLibre GL style's glyphs URL to the folder, using the {fontstack}/{range}.pbf pattern.