Encode any text to Base64 or decode a Base64 string back to plain text instantly. All processing happens in your browser — no data is ever uploaded or stored.
Enter the text you want to encode, or the Base64 string you want to decode, in the input box.
Click Encode to Base64 to convert plain text to Base64 format.
Or click Decode from Base64 to convert a Base64 string back to plain text.
Click Copy to copy the result to your clipboard.
Base64 is an encoding scheme that converts binary data into a text string using 64 printable ASCII characters. It is not a form of encryption — it does not secure data, it simply represents it in a different format. Base64 is commonly used to embed binary data (such as images, fonts, or files) into text-based formats like HTML, CSS, JSON, and email.
username:password).Standard Base64 uses + and / characters which are not URL-safe. Base64url replaces these with - and _ respectively, making it safe for use in URLs and filenames. JWT tokens use Base64url encoding.