Convert text to Base64 or decode it back, with full UTF-8 and optional URL-safe output. Runs in your browser — nothing is uploaded.
Choose a direction and enter your text.
Base64, live.
Base64 encodes binary or text data into a safe ASCII string, which is why it shows up everywhere — data URIs, email attachments, API tokens, JWT segments, and config values that need to survive systems that only handle text. Decoding does the reverse, turning that string back into the original bytes.
This tool is UTF-8 safe, so international characters and emoji encode and decode without corruption, and it offers a URL-safe mode for values that travel in URLs or tokens. Because it all runs locally, you can encode or decode sensitive values without them ever leaving your browser.
No. Base64 is an encoding, not encryption — it simply represents binary data as text using a 64-character alphabet, and anyone can decode it. Never use Base64 to protect secrets; use real encryption for that.
Standard Base64 uses the '+' and '/' characters and '=' padding, which have special meaning in URLs. URL-safe Base64 replaces '+' with '-', '/' with '_', and drops the padding, so the result can be used safely in query strings, JWTs, and filenames.
Yes. The tool encodes and decodes as UTF-8, so accented characters, emoji, and non-Latin scripts round-trip correctly.
No. Encoding and decoding happen entirely in your browser, so your text never leaves the page.