๐Ÿ” Base64 Encode/Decode

Input
Output

Encode text to Base64, or decode a Base64 string back to plain text. Useful for things like Basic Auth headers, lightly obfuscating data, or embedding a value in a config file.

How to use

  1. Choose "Encode" or "Decode" mode.
  2. Paste your text or Base64 string into the input box.
  3. Click the run button to see the result.
  4. Click "Copy" to copy the result to your clipboard.

FAQ

Is Base64 encryption?

No โ€” Base64 is encoding, not encryption. Anyone can decode it easily, so don't use it for anything that needs to stay secret.

Can it handle multi-byte characters like Japanese?

Yes โ€” text is treated as UTF-8, so you can encode and decode any text including Japanese.

Can I build a Basic Auth header with this?

Yes โ€” encode text in "username:password" format to get the value used in an Authorization: Basic header.

Why does decoding fail?

It fails if the input isn't valid Base64 โ€” check for stray whitespace or line breaks in what you pasted.

Is my input text sent to a server?

No, encoding and decoding happen entirely in your browser and nothing is sent externally.