Encode text to Base64 or decode Base64 back to plain text. Supports UTF-8 and URL-safe Base64 variants. Runs entirely in your browser.
Base64 encodes binary data as a string of 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It's not encryption — it's encoding. The encoded output is about 33% larger than the original. You need it when a protocol or system can only handle text and you need to pass binary or arbitrary bytes through it.
src="data:image/png;base64,..."Authorization: Basic dXNlcjpwYXNz+ and / as the 62nd and 63rd characters. These are special characters in URLs — + means space and / separates path segments. URL-safe Base64 (RFC 4648 §5) replaces + with - and / with _, making the result safe to put in a URL or filename without percent-encoding. JWT tokens use URL-safe Base64.= means 1 padding byte, == means 2. Without padding, the decoder wouldn't know where the data ends. Some implementations omit the padding (common in JWTs) and add it back during decoding.