Encode and decode text to Base64 with URL-safe mode and Unicode support.
Paste the text you want to encode, or paste Base64 text you want to decode.
Select 'Encode' to convert text to Base64, or 'Decode' to convert Base64 back to text. Toggle URL-safe mode if needed.
The conversion happens instantly. Click Copy to grab the result.
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to embed images in CSS/HTML, transmit data in URLs, and encode email attachments.
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 replaces these with - and _ so the encoded string can be safely used in URLs and filenames.
Yes. All encoding and decoding happens in your browser using JavaScript's built-in btoa() and atob() functions. No data is transmitted to any server.
This tool is designed for text encoding. For file-to-Base64 conversion (like images), you'd need to read the file as binary data first.
Format, minify, and validate JSON data with syntax highlighting and error detection.
Open ToolDecode and inspect JSON Web Tokens. View header, payload, and check expiration status.
Open ToolGenerate UUID v4 and v7 online. Bulk generation, uppercase, no-dash formatting. Cryptographically secure.
Open Tool