Encodes any text input as a Base64 string using UTF-8 encoding. Standard Base64 and URL-safe Base64 (replacing + and / with - and _) are both supported. Base64 encoding is used for embedding binary data in JSON, embedding images in CSS, and encoding credentials in HTTP headers.
Quickly encode strings for HTTP Basic Auth headers, data URIs, JWT payloads, or any system that requires Base64 input. To decode Base64 back to text, use the Base64 to Text decoder.
Encode credentials
Input
username:password
Output
dXNlcm5hbWU6cGFzc3dvcmQ=
Decode a Base64 string back to plain text.
Percent-encode URLs and query strings, or decode them.
Encode text to hexadecimal or decode hex back to text.
Convert image files to Base64-encoded data URLs.
Convert Markdown to HTML instantly.
Convert HTML markup to clean Markdown syntax.