Bytecode to Image
Reconstruct an image from Base64, Data URL, hexadecimal bytes, JSON byte arrays or JavaScript Uint8Array source directly in your browser.
Image preview
How this tool helps
Turn developer-oriented binary representations back into an image. Paste Base64, a Data URL, hexadecimal bytes, a JSON byte array or JavaScript Uint8Array source and preview or download the reconstructed file.
- Auto-detection recognizes common input formats.
- PNG, JPEG, GIF, WebP and BMP signatures are detected from their magic bytes when possible.
- A fallback MIME selector is available when raw bytes do not identify the image format.
Worked example: Preview an image from encoded bytes
- Paste a Base64 string or Data URL
- Allow format detection or choose a MIME type
- Preview and download the reconstructed image
The tool decodes the supplied representation into bytes, detects common image signatures where possible and creates a browser preview.
Only decode content from sources you trust. A byte sequence that is not a valid supported image will not produce a useful preview.
Frequently asked questions
Which byte formats can I paste?
Base64, Data URLs, hexadecimal strings, JSON arrays of byte values and JavaScript Uint8Array source are supported.
How does the tool know the image type?
Data URLs carry their MIME type. For raw bytes, the tool checks common file signatures and otherwise uses the MIME type you select.
Are the bytes uploaded?
No. Reconstruction and preview happen in your browser.
Related tools
Local processing
Conversion happens in your browser. The selected image or byte data is not intentionally uploaded to our server.