Base64 Encoder & Decoder

Encode and decode text strings or binary files to and from Base64 with full UTF-8 support.

Add content

Add the content, review any settings, then create your file.

1

Add content and settings

Use the recommended defaults or adjust the controls below.

2

Base64 Encoder & Decoder

Create the result and download it to your device.

About Base64 Encoder & Decoder

Encode plain text and binary strings into Base64 format, or decode Base64 data back to plain text. Full UTF-8 Unicode support ensures accurate encoding of international characters, symbols, and emojis.

How to use Base64 Encoder & Decoder

1

Add your file

Choose a file or drag it onto the upload box. We check that the file type and size are supported.

2

Pick your options

Change the settings shown next to the file if you need to. The defaults work for most files.

3

Download the result

Click the main button, then download your new file. Check it before you share or submit it.

What it does

  • ✓Bidirectional operation: instant toggle between Encode and Decode modes
  • ✓Full UTF-8 Unicode encoding handles international text, accented characters, and emojis without corruption
  • ✓Syntax error detection highlights invalid Base64 padding and illegal characters during decoding
  • ✓Runs in browser memory to keep authentication tokens and private strings secure

When to use it

HTTP Basic Auth Header Generation

Encode `username:password` credentials for Authorization headers in API testing.

Data URI Asset Embedding

Encode small SVG icons and font snippets for inline embedding in CSS and HTML.

JWT & Token Inspection

Decode Base64Url JWT header and payload segments for authentication debugging.

Email & Protocol Debugging

Decode MIME Base64 email attachments and headers during email server diagnostics.

Your file stays on your device

This tool runs entirely in your browser. Your file is processed on your own device and is never uploaded to our servers.

Tips

  • •For UTF-8 international text, FileBuddy automatically handles multibyte character encoding correctly.
  • •Valid Base64 strings use characters A-Z, a-z, 0-9, +, /, and = for padding.
  • •Click the Copy button to transfer encoded tokens directly to your clipboard.

Base64 Encoder & Decoder FAQ