Tools
Base64 / URL Encoder & Decoder
Convert text between standard Base64, URL-safe Base64, and URL encoding directly in the browser.
Input text
Result
Info panel
Standard Base64
Turns binary data into text using the RFC 4648 alphabet. It does not encrypt or secure information, it only changes the representation.
Alphabet: A-Z, a-z, 0-9, +, /, =
Typical uses: MIME, X.509 certificates, embedded images in HTML/CSS, and binary transport in text formats.
Image to Base64 encoder
Drag an image or select one to generate the Base64 string and a ready-to-use data URI.
Drop an image here
or select it from your device
About this tool
Base64 represents binary data using only 64 printable ASCII characters: letters A-Z and a-z, digits 0-9, and symbols + and /, plus = as padding. Every 3 bytes of binary data are represented as 4 Base64 characters, resulting in a 33% size increase. It is widely used to transmit binary data over text protocols: in JWT, in HTTP Basic headers (Authorization: Basic base64(user:password)), in data URIs, and in cryptographic key exchange.
URL encoding or percent-encoding transforms characters with special meaning in URLs into %XX sequences where XX is the hexadecimal code of the character in UTF-8. A space becomes %20, & becomes %26, = becomes %3D. This is necessary to include arbitrary data in query parameters without breaking the URL structure. The Base64URL variant replaces + with - and / with _ to be URL-safe without additional percent-encoding.
This tool encodes and decodes text in both formats instantly. Useful when working with APIs, authentication tokens, URL parameters, or debugging HTTP headers.
