Data tools

Base64 Encode/Decode

Encode or validate and decode UTF-8 text and local files using standard or URL-safe Base64.

Processed locally in your browser. Your input is not uploaded to our server.

Options

Choose a mode and enter data to begin.

How to use Base64

  1. Choose text or file mode, encode or decode, and standard or URL-safe alphabet.
  2. Paste text/Base64 or select the local file, then run validation or encoding.
  3. Inspect byte or validation details and copy text or download binary output.

Supported behavior

Base64 Encode/Decode works with UTF-8 text and local binary files in standard or URL-safe alphabets. Text encoding converts Unicode to bytes before Base64, avoiding the corruption caused by passing raw non-ASCII strings directly to legacy browser functions; an optional hexadecimal view shows those bytes. File mode reports local name, MIME type, and size, then emits raw Base64 or an optional Data URL. Decoding can ignore ASCII whitespace, validates alphabet and padding, auto-detects URL-safe characters, and identifies an invalid position where possible. Binary output is downloaded with an inferred or requested filename and is never rendered as HTML; Data URLs are displayed only as inert output and never executed. Input is chunked or moved off the main interface when large. All text, bytes, filenames, and decoded results remain in your browser and are never uploaded. Base64 is reversible encoding, not encryption, compression, integrity protection, or proof that decoded content is safe.

  • Base64 increases data size and provides no secrecy or authenticity.
  • Decoded binary content is not scanned for malware or interpreted by the tool.

Examples

                Hello
              

Result: SGVsbG8=

                Y2Fmw6k=
              

Result: café

Common use cases

  • Encode a Unicode configuration value for a documented protocol field.
  • Decode a known Base64 fixture into its original local file.
  • Create a URL-safe token representation from supplied bytes.

Frequently asked questions

Does Unicode text encode correctly?

Yes. Text is converted to UTF-8 bytes before Base64 encoding.

Can whitespace in encoded text be ignored?

ASCII whitespace is ignored by default during decoding and can be treated strictly through the option.

What is URL-safe Base64?

It uses URL-friendly alphabet substitutions, with the decoder able to detect those characters.

Is a decoded Data URL opened?

No. Data URLs and binary output are never executed or rendered as HTML.