Zero-upload Base64 & Data URI studio
Browser Base64 & Image Data URI Studio
Three modes on one desk: live UTF-8 text conversion, a local image-to-Data-URI drop zone, and a Base64 restore preview with a one-click download. Everything stays in this tab.
The studio needs JavaScript in this browser. Without it, you can still read the guide and reference, but live encode, preview, and restore will not run.
Questions
Does this studio upload my text or images?
No. Encode, decode, Data URI construction, preview, and restore run in this browser. The page does not post what you type, drop, or paste to a server.
Why not use btoa and atob?
Those functions operate on Latin-1 strings and can throw or corrupt Chinese, Japanese, Korean, or emoji. This studio encodes UTF-8 bytes with the Web Encoding API.
What is Base64URL?
A JWT-safe variant of Base64 that uses - and _ instead of + and /, and omits = padding. Use it when a value must sit in a URL or a compact JWT segment.
How does restore detect the file type?
After the bytes are decoded, the studio reads magic-byte signatures for common images, SVG markup, PDF, ZIP, and UTF-8 text or JSON. If nothing matches, the download uses a generic .bin extension.
Related tools and references
These links stay in the jmforu.com set or point at the encoding specifications named on the reference page.
- JM Hub — A catalog of the jmforu.com tool set.
- JM JWT Decode — A zero-upload browser JWT debugger that reads Base64URL header and payload segments.
- JM QR Forge — A zero-upload static QR code studio in the same tool set.
- RFC 4648 — The Base16, Base32, and Base64 Data Encodings — The specification for standard Base64, Base64URL, and hexadecimal alphabets, including padding rules.
- RFC 2397 — The data URL scheme — The Data URI syntax used here for image embeds in CSS and HTML.