Search for a tool or command
Encode text or files to Base64, with an optional URL-safe variant.
Convert text or binary files into Base64, the encoding used to embed data safely in JSON, data URLs, HTTP headers, and email. UTF-8 characters and emoji encode correctly, and you can switch to the URL-safe alphabet when the output must live inside a URL. Files are read and encoded locally, so nothing is ever uploaded.
Type or paste text, or drop a file into the tool. Binary files such as images are read as bytes and encoded directly.
Use standard Base64 for most cases, or switch to URL-safe mode when the result will be placed in a URL or filename.
The Base64 string updates instantly. Copy it, or copy it wrapped as a data: URL for direct use in HTML or CSS.
Standard Base64 output for ASCII text.
Input
Hello, World!Output
SGVsbG8sIFdvcmxkIQ==Decode Base64 back to readable text, including URL-safe input.
Percent-encode text for safe use in URLs and query strings.
Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes of text or files.
Decode a JWT to inspect its header, payload, and claims instantly.