Base64 Encoder & Decoder

Encode and decode Base64 text or encode files up to 10 MiB. Choose UTF-8 or binary text, use URL-safe Base64, and copy or download the result.

Mode

Result

Your result will appear here. Enter text or try the example.

RFC 4648 standard Base64 encoding
Upload

Choose a file to encode. Maximum: 10 MiB (10,485,760 bytes). Files stay in your browser.

Advanced options

Advanced options

Validation

Validation

Enter text to see validation results.

History

History

No conversions yet. Encode or decode text to create history.

Base64 Encoder & Decoder

Base64 represents bytes as text so they can be carried in text-based formats. Use it to inspect an encoded API field or prepare file content for a system that expects Base64. It is encoding, not encryption: anyone with the encoded value can decode it.


Choose UTF-8 for text containing characters such as Turkish letters or emoji. Binary text mode maps characters to single bytes and rejects values outside that range. File encoding accepts up to 10 MiB (10,485,760 bytes). URL-safe Base64 uses a different alphabet; select the format expected by the receiving system.

Features

  • Encode or decode text using standard or URL-safe Base64.
  • Choose UTF-8 text or single-byte binary text.
  • Encode file bytes with a 10 MiB upload limit.
  • Configure padding and line breaks; copy or download the output.

How to use

  1. Choose Encode or Decode and select the Base64 format.
  2. Paste text, or select a file when encoding. For example, Hello becomes SGVsbG8= in standard Base64.
  3. Use UTF-8 for ordinary text; adjust padding or line breaks only when the receiving format requires it.
  4. Check the output before copying or downloading it. A decoding error can indicate invalid Base64 or bytes that are not valid UTF-8.