What does the Base64 do?
Base64 represents binary data as ASCII. This tool encodes UTF-8 text to Base64 and decodes it back, which is useful for data URLs, HTTP basic auth blobs and inspecting encoded payloads.
Convert text to Base64 and back without uploading. Nothing is uploaded.
The Base64 tool encodes UTF-8 text per RFC 4648 at exactly 4 output characters per 3 input bytes — a +33.3% size overhead before padding — entirely in the browser.
Base64 represents binary data as ASCII. This tool encodes UTF-8 text to Base64 and decodes it back, which is useful for data URLs, HTTP basic auth blobs and inspecting encoded payloads.
Encoding uses TextEncoder then btoa. Decoding reverses that with atob and TextDecoder. Both steps run in JavaScript in this tab.
No. This page never sends your input to a server — formatting, decoding and hashing all run in this tab, on this device.How that works.
Yes. Plain btoa fails on emoji and non-Latin text; this tool encodes UTF-8 bytes first so those characters survive a round trip.
You can, but JWT uses Base64URL (different alphabet, no padding). Use the JWT decoder for tokens.
Decode strips whitespace before parsing, so wrapped Base64 from emails still works.
No. Encoding never leaves the browser.
Browse allencoding toolsor thefull tool directory.