Tools
Fileraz
Try jpg to png, compress image, pdf…
Image tool
Simple 3-step flow
One image at a time. Drop a file, encode it to a PNG data URL, and copy the string.
01
Drop one JPG, PNG, WebP, AVIF, TIFF, HEIC, SVG, BMP, or ICO file. It is decoded and redrawn as PNG — EXIF does not ride along.
One image at a time
02
One click encodes the PNG raster to Base64 in this tab. The stats show file bytes versus string characters so the cost is visible.
Canvas encode · local only
03
Copy the data URL for HTML, CSS, or JSON — or download it as .txt when the string is too big to paste comfortably.
No hosting · string is yours
What the workspace does
These match the editor — PNG output, honest size math, and two ways to take the string with you.
Whatever you drop is redrawn as PNG, then encoded — the MIME type is always image/png. Click the output to select it all, copy it, or save a .txt.
Copy button · .txt download
Base64 expands binary by ~37% plus the data: prefix. The stats line shows both numbers, so a 2 MB photo never becomes a surprise paste.
Bytes vs characters, shown
Privacy architecture
Cloud encoders upload the image to stringify it remotely. This editor draws to a canvas and encodes here — the file never leaves the device.
Legacy cloud tools
Uploads the image to a remote queue.
Fileraz
0 bytes leave this machine. Canvas encode runs in this tab.
Legacy cloud tools
Held on a server, then deleted on a timer.
Fileraz
Gone when you close the tab. No file server, no retention window.
Legacy cloud tools
You only get back what the server kept.
Fileraz
Source stays on disk. Output is a text string.
Honest output
A text representation for embedding — not compression, not hosting. Big photos make enormous strings; compress first for production.
Answers
PNG vs JPG, decoding back, and whether files are uploaded.
The MIME type follows the encoded raster this tool produces (PNG data URL on this page).
Paste the string into a decoder or use the developer File to Base64 tool if you have raw Base64.
No.
Constraints
Large images produce very long strings.
One image at a time.
Output is a data URL, not an uploaded asset.
Ready to encode an image in this tab?
PNG data URL · 0 bytes uploaded