ToolboxKit

Base64 Encode/Decode

Encode your text into Base64, or decode a Base64 string back to its original text.

Your files never leave your device — everything runs in your browser.

How to Use

  1. 1Type your text into the box.
  2. 2Click 'Encode to Base64' to encode, or 'Decode from Base64' to decode.
  3. 3Use the 'Copy' button to copy the result.

Frequently Asked Questions

What is Base64 encoding used for?

Base64 converts binary or text data into a text-safe format, commonly used for embedding data in URLs, JSON, or email attachments where raw binary isn't allowed.

What happens if I try to decode an invalid Base64 string?

You'll see a clear error message telling you the string isn't valid Base64 — check that you haven't included extra characters or a truncated string.

Related Tools