FontAwesome icon rasterizer
Renders a built-in FontAwesome-style glyph table into a PNG icon: choose the icon name, edge length, foreground and background colour. No font or network is involved, so the same options always render identically.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
The icon shows up once you pick the options
Real numbers from this render
These are the real numbers from this run — copy them straight out.
Pick an icon and an edge length — size, painted pixel count and PNG size show up here.
What this tool does
- Make an app or diagram icon: render one of the 15 built-in glyphs (house, star, heart, check, bolt, bell, gear, user, code, cloud, face-smile, trash, download, lock, boltCircle) as a PNG at a chosen edge length.
- Transparent by default — untick “transparent background” and pick a colour to get a solid tile instead. Both the foreground and the background are real pixel values.
- Fixed-size icons for CI or docs: the same options (icon + edge length + colours) always render identical pixels, so scripts can rely on it.
Example
Input
Icon house, edge length 128, foreground #FFFFFF, “transparent background” ticked
Output
Icon: house Edge length: 128 × 128 Glyph scale: 9 × 9 (12 × 12 source grid) Painted pixels: 3888 / 16384 Foreground: #FFFFFF Background: transparent PNG size: 310 B (measured by the built-in encoder) Export file name: house-128.png
The glyph table is a 12 × 12 grid of #/. cells, so at 128 px each cell becomes 9 × 9 pixels (floor(128 × 0.86 / 12)) and 3888 pixels are painted. 310 B is the real size written by the built-in PNG encoder.
Frequently asked questions
Why does the icon look like blocks rather than smooth curves?
The tool has no fonts or external icon files: the glyph table is a 12 × 12 boolean grid inside the page (# = painted) and scaling is integer-only, so edges stay hard. For vector icons use an SVG set; the value here is zero dependencies and deterministic output — the same options produce the same bytes offline.
How do “transparent background” and the background colour interact?
With “transparent background” ticked the colour is ignored and the corners have alpha 0, so the PNG keeps transparency and sits on any surface. Untick it and the canvas is filled with the background colour, which works as a solid icon tile.
Can I pick any edge length?
Between 16 and 512 in steps of 8. The scale factor is floor(edge × 0.86 / 12), so lengths that are not multiples of 12 leave uneven margins. That is deliberate: keeping whole-pixel cells avoids blurry half-transparent edges.
Why is the exported PNG size slightly different from the number in the result lines?
The result line reports the built-in PNG encoder (the same compression settings as the site’s other image tools); the export is re-encoded by the browser canvas. Different encoder, so the byte count differs by a few percent, but the dimensions and pixels are identical.
Keywords:FontAwesome icon rasterizerfa2imgofflinedeterministic