Base64
private · runs in your browser
~ $ devkit:base64

Base64 Encode / Decode

Encode and decode Base64 with full UTF-8 support — Chinese and emoji. Text mode requires valid UTF-8 bytes. Optionally use URL-safe alphabet.

Input
Output

How to use Base64

  1. Paste plain text to encode, or Base64 text to decode.
  2. Choose the URL-safe option when you need the - and _ alphabet, then copy the output.

Example

Text: Hello, world!
Base64: SGVsbG8sIHdvcmxkIQ==

Details and limitations

This tool converts UTF-8 text. Binary content that is not valid UTF-8 is rejected during decoding. Base64 is an encoding, not encryption; it does not protect secrets.