Base64 Encode / Decode

Encode and decode Base64 data instantly. Support for text, files, and Base64url format with validation and error handling.

Privacy First

All processing happens in your browser. Your data never leaves your device.

How to Use

  1. 1Choose to encode or decode
  2. 2For encoding: enter text or upload a file
  3. 3For decoding: paste Base64 string
  4. 4Toggle Base64url format if needed
  5. 5Copy the result or download as a file

Example

Input:

Hello, World!

Output:

SGVsbG8sIFdvcmxkIQ==

Encode text and files to Base64 or decode Base64 data back to its original form. Essential for working with data URLs, email attachments, JWT tokens, and binary data in JSON.

Supports both standard Base64 and Base64url encoding (URL-safe variant). Upload files to encode them or decode Base64 strings back to downloadable files.

All encoding and decoding happens entirely in your browser using native APIs—files never leave your device, ensuring complete privacy for sensitive data.

Frequently Asked Questions