Tool
Base64 / URL Encoder
Encode or decode text as Base64 or URL. Non-ASCII characters are handled correctly as UTF-8. You can also turn a file into a data URI.
Runs in your browser — no data is sent to the server.
Format
Direction
Data URI from a file
- When decoding, both the standard and the URL-safe alphabet are accepted. Spaces, line breaks and missing
=padding are fine. - If the decoded data is not UTF-8 text (an image, a zip…), a hex view is shown and you can download it as a file.
- URL mode follows the
encodeURIComponentrules; suitable for query parameter values.