BitFontMaker2 to Bitmap Text Font

About this tool

This tool is for converting fonts made with BitFontMaker2 into the FNT and PNG files needed to use them as true Bitmap Text font that can be used with things like the Phaser game engine.

The "normal" way to do this kind of thing is to convert a TrueType font to a Bitmap Text font with BMFont. I find this really tedious when trying to make Bitmap Fonts for pixel games, because it is usually overkill and also requires a lot of fine-tuning for the final XML output. I am also using this for very small fonts like the ones created by bitfontmaker2.

This tool was developed by Alex Wellerstein in 2024-2025 for his own use. You are free to use it however you want. I do not claim any copyright on it. It is provided for your use with no warranties, guarantees, etc. Use at your own risk. I have no connection to the creators of BitFontMaker2 or Phaser. It does not take full advantange of the file format -- it just tries to get the job done. So each font is assumed to have a single page, etc.

For detailed instructions on how to use this, please see this page.


INPUT

Paste BitFontMaker2 JSON code here:

SETTINGS

Font settings (will be inferred if left blank):

Output settings:

OUTPUT

PNG:

FNT: