Base64 String Encoder & Decoder Online
Runs 100% in your browser — your files never leave your device.
Base64 shows up everywhere: data URIs, email attachments, JWT segments, config files. Type text to encode it, paste base64 to decode it — both directions work live, with optional URL-safe alphabets and automatic data: prefix stripping. Unicode text round-trips correctly, and nothing you paste leaves the page.
How it works
- 1
Type or paste
Encode plain text or decode a base64 string — both panels work live.
- 2
Toggle URL-safe if needed
URL-safe mode swaps +/ for -_ and drops padding.
- 3
Copy the result
One click copies the encoded or decoded output.
Related tools
More data converters
Convert CSV to JSON Online Convert CSV to a JSON array of objects online for free — header row becomes keys, quotes and commas handled properly. No upload, no sign-up. Convert JSON to CSV Online Convert a JSON array of objects to CSV online for free — columns are the union of all keys, nested values stringified. No upload, no sign-up. Convert CSV to XML Online Convert CSV to structured XML online for free — headers become sanitized tags, rows become records. Runs in your browser, nothing uploaded.