Encoding Tools
Base64 Encoder and Decoder
Encode and decode Base64 strings, including Unicode-safe examples.
Use this tool to encode text to Base64 or decode Base64 back to text.
Common edge cases
Browser btoa and atob only handle Latin-1 strings directly. This tool encodes text as UTF-8 first so characters such as 世界 round trip safely.
Language snippets
const encoded = btoa("hello");
const decoded = atob(encoded); FAQ
How should I handle sensitive text?
Review sensitive values carefully before using any online utility or shared environment.