Encode Decode Base64 online
How to use Base64 Encode / Decode
- Paste UTF-8 text (any language) or a Base64 string.
- Choose Encode or Decode, and turn on URL-safe / Data URL if needed.
- Copy or download the result — decoded images get a preview.
What is Base64?
Base64 encodes data (UTF-8 text, files, images) into a safe string to embed in JSON, HTML or URLs. OneTool uses the standard TextEncoder/TextDecoder — full Unicode support, not limited to ASCII.
How to encode / decode Base64
Encode tab: enter text or open a file, with optional URL-safe and Data URL modes. Decode tab: paste Base64 or data:image/…;base64,… — UTF-8 text is shown directly; images/files can be previewed or downloaded.
Why use OneTool?
- Free — no sign-up required, no hidden fees.
- Private — many tools run right in your browser; files are never sent to OneTool's servers.
- Fast — drag and drop, preview, and download in a few steps.
Related tools
- Format JSON Beautify, minify and validate JSON — handy for debugging APIs.
- Regex tester Test regex in real time — highlighted matches, flags, replace and capture groups.
- URL encode decode Encode/decode URLs — encodeURIComponent, encodeURI, form (+), full UTF-8.
- UUID Hash Slugify UUID, SHA hashes, slugify, Unix timestamps — quick dev tools.
- Video to MP3 Extract audio from MP4, MOV or MKV as 192 kbps MP3 — runs in your browser.