F

Base64 Encoder / Decoder

Base64 Encoder / Decoder converts text to Base64 and back. Handy for data URLs, simple transport encoding, and debugging encoded payloads.

Input

How to use Base64 Encoder / Decoder

  1. Paste plain text to encode, or Base64 to decode.
  2. Run encode or decode.
  3. Copy the result.

Worked examples

Concrete numbers and cases you can check against the tool above.

Decode a data URL

A CSS data URL starts with data:image/png;base64, followed by the payload. Decode only the Base64 part (not the prefix) to inspect the original text or binary-as-text. Never paste live session tokens into a third-party decoder β€” this page keeps encoding local.

When to use Base64 Encoder / Decoder

Base64 shows up in data URLs, tokens, and transport encodings. Encoding and decoding locally is essential when payloads may contain secrets you should not paste into random websites.

Common use cases

  • Decode a Base64 string from an API log.
  • Encode a small SVG for an inline data URL.
  • Debug email MIME content transfer encoding.
  • Convert text for systems that require Base64 fields.

Inputs and outputs

  • Plain text ↔ Base64 strings

Privacy

This tool runs entirely in your browser. Your data never leaves your device β€” nothing is uploaded to our servers.

Frequently asked questions

Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it. Do not use it to hide secrets.
Why do encoded strings get longer?
Base64 represents binary/text using a 64-character alphabet and typically expands size by about a third.
Is my text uploaded?
No. Encoding/decoding is local.

Related tools

More free utilities you may need next β€” also listed in Text, Writing & Developer Tools and the All Tools directory.

View full category β†’