ST

SnapTool.top

Loading...

Base64 Encoder / Decoder

Text
Result

About Base64 Encoder / Decoder

Free online Base64 tool that encodes text to Base64 and decodes back to readable text. Fully supports Unicode and keyboard shortcuts. For structured payloads you can quickly inspect with JSON Formatter, and when you need URL-safe transport use the URL Encoder/Decoder.

Common scenarios include crafting data: URLs for images/fonts, embedding small assets, and safely carrying binary data over text-only channels. If you work with other bases, try the BaseX Encoder/Decoder. For time-related tokens, see Timestamp Converter.

Common Use Cases

  • Safely transfer binary over text protocols
  • Embed small files in configs or HTML
  • Inspect Base64 payloads from APIs
  • Store small blobs in config or local storage

How It Works

  • Handles Unicode via TextEncoder/TextDecoder
  • Supports both encode and decode
  • Warns when input is not valid Base64
  • base64.how.copy

FAQ

Is binary supported?

Yes. Files or binary buffers need to be represented as Base64 strings first. You can paste Base64 produced by dev-tools or APIs and verify it here, then format the decoded JSON with JSON Formatter.

Will whitespace break decoding?

Whitespace and newlines are ignored during decoding, which is convenient for multi-line payloads copied from logs or emails.

Is data sent to server?

No. All encoding/decoding runs locally in your browser — nothing is uploaded, which is ideal for sensitive payloads.

Can I encode files?

You can paste Base64 strings generated elsewhere. If you need to convert images, refer to Emoji Collection for quick copy or use external converters; once you have Base64, validate it here.