Encodes text to Base64 or decodes Base64 back to text (UTF-8).
Base64 Encode / Decode converts text to Base64 and decodes Base64 strings back to readable text, all in your browser. Encoding uses UTF-8, so accented characters, emoji, and other non-ASCII text are handled correctly rather than breaking like a raw btoa/atob call would. Switch between encode and decode mode to quickly inspect or generate Base64 payloads.
No. Encoding and decoding run entirely in your browser using the built-in btoa, atob, TextEncoder, and TextDecoder APIs. Nothing you paste is uploaded or stored on a server.
Yes. Text is encoded as UTF-8 before being converted to Base64, and decoded back from UTF-8, so emoji and accented characters survive the round trip correctly.
The browser's atob function will throw an error if the input is not valid Base64. Leading and trailing whitespace is trimmed automatically before decoding, but the remaining characters must be a valid Base64 string.
No. This tool works with text input only. It encodes UTF-8 text to Base64 and decodes Base64 back to UTF-8 text; it does not accept file uploads.
No. It produces standard Base64 (using the + and / characters and = padding), not the URL-safe variant that replaces those characters with - and _.