Did you find this tool helpful?

Free Online Tool

Bitmap Font
Generator

Upload a TTF/OTF font or individual character images. Get a PNG texture atlas + AngelCode XML ready for PixiJS, Phaser, Unity and more. Everything runs locally — no upload, no account.

No upload Browser-based PixiJS ready Phaser / Unity AngelCode .fnt
Input Mode
Choose how to create your font
🔤
Drop your font here
TTF, OTF, WOFF, WOFF2 supported
Font loaded
32px
Style & Layout
Colors, padding, atlas settings
Transparent background
2px
1px
Enable outline
Drop shadow
Output Settings
Used for exported filenames and XML face attribute.
Error
FAQ
Which frameworks are supported?
The AngelCode .fnt format is supported natively by PixiJS (BitmapFont.from()), Phaser 3 (scene.load.bitmapFont()), LibGDX, Corona, and many others. Unity requires a third-party BMFont importer.
PixiJS Phaser 3 LibGDX Corona SDK
What is AngelCode .fnt format?
AngelCode BMFont XML describes each character's position in the texture atlas (x, y, width, height), along with metrics like xoffset, yoffset, and xadvance used by renderers to correctly position each glyph.
Does my font file leave my device?
Never. All processing uses the Canvas API and FontFace API directly in your browser. No data is sent to any server. You can disconnect from the internet and the tool still works.
What's the max atlas size?
Up to 4096×4096. If your character set doesn't fit, the tool will warn you. Reduce font size, padding, or character count, or increase atlas size.
Suggested URL path
Recommended: /tools/bitmap-font-generator/

Shorter alternatives: /tools/bmfont/ or /bitmap-font/
🗺️
No atlas generated yet
Configure your font on the left and click Generate to see the texture atlas here.
🔤
Generate a font first
After generation you can type here to preview your bitmap font in action.
📄
No code generated yet
Generate a font to see the AngelCode XML and JSON descriptor here.
📦
Nothing to download yet
Generate your bitmap font first, then download the PNG atlas and XML/JSON descriptor files.
Copied!