security
Popular
100% In-Browser Execution

Base64 Encoder / Decoder

Fast Base64 string encoder and decoder with complete UTF-8 Unicode character support. Easily switch between encoding and decoding modes with real-time error handling.

Plain Text Input (UTF-8)text
1 line•32 chars•34 B (34 bytes)
UTF-8 Encoded
Base64 Outputbase64
0 lines•0 chars•0 B (0 bytes)
UTF-8 Encoded
Quick Usage Guide & Examples(Click to toggle reference)
How to Use
  1. Select your desired conversion mode: 'Text → Base64 (Encode)' or 'Base64 → Text (Decode)'.
  2. Type or paste your input into the left editor panel. Multilingual Unicode characters and emojis are fully supported.
  3. Toggle 'URL-Safe Base64' if your output will be passed in URL query parameters (- and _ characters without padding =).
  4. The converted output is generated instantly in the right panel.
  5. Click 'Copy' to copy to clipboard, or 'Swap' to invert input and output for roundtrip testing.
Examples

UTF-8 String with Emoji to Base64

Input
Hello World 🚀
Output
SGVsbG8gV29ybGQg8J+agA==

Base64 to Plain Text

Input
RGV2VG9vbHNIdWIgLSBQcml2YWN5IEZpcnN0
Output
DevToolsHub - Privacy First

Related Utilities

Discover other in-browser tools frequently used alongside this utility.

All tools