Encoders & Decoders 100% Client-Side UTF-8 Safe

Base64 Encoder & Decoder

Safely encode and decode text, Unicode characters, emojis, data URIs, and files to and from Base64 with URL-safe mode, line wrapping, and instant clipboard sync.

Plain Text Input
Base64 Output
Shortcuts: Ctrl+Enter Convert • Alt+C Copy • Esc Clear

How to Use This Tool

  • Select Encode to Base64 to turn plain text, Unicode, or emojis into standard RFC 4648 Base64.
  • Select Decode from Base64 to recover the original UTF-8 text from any valid Base64 string.
  • Turn on URL-Safe to automatically convert + and / to - and _ without padding for URL query parameters.
  • Use Upload File to read any local file (images, documents, certificates) directly into Base64 format.
  • Choose Line Wrap (64-character PEM or 76-character MIME) for email and cryptographic key exports.
  • Click Swap to feed the output back into the input panel and reverse the conversion mode.

Privacy Guarantee

All operations are executed 100% client-side inside your browser sandbox using modern Web APIs (TextEncoder, TextDecoder, and FileReader). Your inputs, files, tokens, and payloads are never sent over the network or stored on any server.