Encode text to Base64 or decode Base64 strings back to readable text. Supports full Unicode including emojis. 100% client-side.
SGVsbG8sIFdvcmxkISBUaGlzIGlzIGEgQmFzZTY0IGVuY29kaW5nIHRlc3Qu
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is widely used in web development to embed images in CSS or HTML (data URIs), encode email attachments (MIME), transmit binary data in JSON APIs, and store credentials in HTTP Basic Authentication headers. This free Base64 encoder and decoder tool lets you convert any text to its Base64 representation or decode a Base64 string back to readable text. Unlike many online tools, this one fully supports Unicode characters including emojis, accented letters, CJK characters, and other multi-byte text through proper UTF-8 encoding. The entire conversion runs in your browser using the native btoa/atob functions with UTF-8 wrapping — nothing is sent to a server, making it safe for encoding API keys, tokens, or other sensitive strings.
Choose "Encode" to convert plain text into a Base64 string, or "Decode" to convert a Base64 string back into readable text. The mode switch is at the top of the tool.
Type or paste your input into the text area. For encoding, enter any text including Unicode and emojis. For decoding, paste a valid Base64 string. Invalid Base64 input will show a clear error message.
The result appears instantly as you type. Click the Copy button to copy the encoded or decoded output to your clipboard for use in your code, API calls, or configuration files.
Pretty-print and validate JSON with 2 / 4 space indentation.
Convert JSON arrays to CSV format. Auto-detects columns, proper escaping, download as .csv.
Convert CSV data to a JSON array of objects. Handles quoted fields and commas.
Beautify messy HTML with proper indentation or minify it for production.
Minify HTML by stripping comments, collapsing whitespace. Shows size savings.
Beautify CSS with proper indentation or minify it for production. Strips comments.