Convert JSON to an image
The code image shows your JSON pretty-printed with 2 or 4 spaces, with keys, strings, numbers, booleans and null in different colors. Line numbers and a window frame with three dots and a title are on by default and can be turned off. The title starts as the file name and is also used for the download, so users.json saves as users.png.
Numbers are drawn exactly as written: 1.50 stays 1.50 and a 20-digit ID is not rounded. Sort keys orders keys A to Z at every level. Lines longer than 80 characters wrap onto an indented continuation row, so a long string makes the image taller instead of very wide; the wrap width can be set to 60, 100 or 120.
JSON to PNG online: themes and backgrounds
Each theme colors the code view and the table view the same way, so a set of images made from different JSON files looks consistent.
- Themes: GitHub Dark, GitHub Light, Night Owl, Dracula, Solarized Light and High Contrast.
- Backgrounds: five gradients, any solid color, or transparent.
- Padding from none to large, and font sizes from 12 to 18 px.
- Export at 1x, 2x or 3x; the exact pixel size is shown next to the download button.
JSON array to table image
An array of objects, such as an API list response or a database export, can be drawn as a table instead of code. Columns come from every key in the order they first appear, with a # column for row numbers, alternating row shading and a header row. Values keep their type colors, so true, false, null and numbers stand out from text.
Long cell text is cut with an ellipsis at a fixed column width so one long description doesn't stretch the whole table. An object whose values are objects, like {"ada": {...}, "alan": {...}}, gets a key column with the property names.
JSON to JPG
Click JPG to save the same image as a .jpg file. JPG is smaller for large images with gradient backgrounds, and some upload forms only take JPG. Because JPG can't store transparency, a transparent background becomes white. For everything else PNG is the better format: text edges stay sharp and the file is lossless.

