Encode text to Base64 or decode Base64 strings back to text.
Choose Encode to convert plain text to Base64, or Decode to convert Base64 back to text.
Paste or type your content into the input field on the left side.
Click Convert to see the result, then click Copy to save it to your clipboard.
Base64 is a way of representing binary data using only 64 safe text characters: letters, digits, plus, and slash. It exists so binary content can travel through systems built for plain text, like email, JSON, HTML, and URLs. Encoding turns data into Base64 text; decoding turns that text back into the original data.
This tool does both instantly. Type or paste text to encode it, or paste a Base64 string to decode it back. It is UTF-8 safe, so emoji and non-English characters survive the round trip, and everything runs in your browser without uploading a byte.
You meet Base64 constantly in development: data URIs embedding images in CSS and HTML, JWT tokens in authentication headers, email attachments in MIME, basic auth credentials, and binary blobs stored in JSON or XML. When something looks like a long random string ending in one or two equals signs, it is very likely Base64.
Base64 is an encoding, not a cipher. There is no key and no secret: anyone can decode a Base64 string instantly, including this tool. Never treat Base64 as a way to protect passwords or private data. Its job is safe transport of data through text systems, not confidentiality.
Base64 processes data in 3 byte groups that become 4 characters. When the input length is not a multiple of 3, the output is padded with = or == so its length stays a multiple of 4. The padding is part of the format, and decoders use it to know exactly where the data ends.
Base32 Encoder/Decoder
Encode text to Base32 or decode Base32 strings back to text instantly.
URL Encoder/Decoder
Encode or decode URLs and query parameters for safe transmission.
Base58 Encoder/Decoder
Encode text to Base58 or decode Base58 strings back to text. Popular in Bitcoin addresses.
Image to Base64
Convert any image to a Base64 data URL instantly in your browser. No upload, fully private.
Base64 to Image
Decode Base64 image strings into a live preview and download the decoded image.
UTF8 Encoder/Decoder
Encode or decode UTF-8 text strings.