URL Encoder / Decoder
Percent-encodes and decodes text for URLs.
Encode text or files to Base64, or decode Base64 back to text or the original file. This Base64 encoder and decoder supports UTF-8 and the URL-safe alphabet.
- and _ alphabet, or Output as data URI for files.Base64 (RFC 4648) splits data into groups of 3 bytes, which is 24 bits, and writes each group as 4 characters of 6 bits each. The 64 characters are A-Z, a-z, 0-9, +, and /. When the last group is short, = pads the output.
- and _ instead of + and /, and leaves out the padding.Hello, World! = SGVsbG8sIFdvcmxkIQ==.Café = Q2Fmw6k=. In URL-safe form: Q2Fmw6k.No. Base64 is an encoding that anyone can reverse. Don't use it to hide passwords or secrets.
Base64 turns every 3 bytes into 4 characters, so the output is about 33% larger.
A variant that replaces + and / with - and _ and drops the = padding, so the result can go in URLs and filenames.
No. Encoding and decoding happen in your browser.
Often used together with the Base64 Encoder / Decoder.
Percent-encodes and decodes text for URLs.
Beautifies or minifies JSON.
Text to hexadecimal bytes and back.