Home / Tools / Encode and decode
Base64 Encode & Decode
Encode text or files to Base64 and decode Base64 back.
Runs in your browserFree, no sign-upOpens any file
Loading tool…
How to use it
- Choose Encode or Decode.
- Type text, or open a file to encode it.
- Copy the result, or download decoded binary data.
About this tool
Text is encoded as UTF-8, so emoji and non-Latin scripts survive the round trip. Open any file to get its Base64 or a full data: URI for embedding small images in CSS or HTML. URL-safe Base64 (with - and _) is supported too.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
Is Base64 encryption?
No. It only changes how bytes are written. Anyone can decode it, so never use it to hide secrets.
How much bigger is Base64?
About 33% bigger than the original bytes.
Encode and decode
All encode and decodeMore tools like this
Encode and decodeURL Encode & DecodePercent-encode text, decode URLs and split a URL into parts.Opens filesOpen →Encode and decodeHTML Entity EncoderEscape and unescape HTML entities like < and &.Opens filesOpen →Encode and decodeJWT DecoderDecode a JSON Web Token and check when it expires.Open →Encode and decodeHash GeneratorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files.Opens filesOpen →Encode and decodeNumber Base ConverterConvert between binary, octal, decimal and hexadecimal.Open →Encode and decodeMorse Code TranslatorTranslate text to Morse code and Morse back to text.Open →Encode and decodeText to Binary ConverterConvert text to binary, hex, octal or decimal bytes and back.Open →Encode and decodeCaesar Cipher & ROT13Encode and decode Caesar shifts, ROT13 and ROT47.Open →