URL Encoder, Base64 and Text Encoders
Use the URL encoder to turn spaces and special characters into percent codes that are safe inside a web address, or decode %20-style text back into plain words. The same tool also handles Base64, HTML entities, binary and hexadecimal, using UTF-8 so emoji and accented letters convert correctly.
Encoding problems show up as broken links, garbled form data or symbols that vanish from a page. Picking the right encoding fixes them, and because everything runs in your browser it is safe to use with tokens and private links.
How to use the URL encoder
- Pick the encoding: URL, Base64, HTML entities, binary or hex.
- Paste the text you want to convert.
- Choose encode or decode where the option is offered.
- Copy the result.
What URL encoding does
Characters such as ?, &, = and # have special meanings in a web address, and spaces are not allowed at all. URL encoding, also called percent-encoding, replaces each one with % and two hex digits. A space becomes %20 and & becomes %26. Letters outside basic English are first turned into their UTF-8 bytes, so é becomes %C3%A9.
Encode a value before putting it into a query string, and decode a link when you want to read what it actually contains.
Base64 is not encryption
Base64 writes any data with 64 safe characters: A to Z, a to z, 0 to 9, + and /, with = as padding. Every 3 bytes become 4 characters, so the result is about a third larger. The word hello becomes aGVsbG8=. Anyone can decode Base64, so never treat it as a way to hide a password.
HTML entities, binary and hex
HTML entities let you show characters that HTML would otherwise read as code: < becomes <, > becomes > and & becomes &. Binary and hex show the bytes behind your text. The capital letter A is 01000001 in binary and 41 in hex, the same value as its ASCII code, 65. An emoji takes four bytes in UTF-8, so it turns into four groups.
Frequently asked questions
What does %20 mean in a URL?
It is an encoded space. URLs cannot contain spaces, so each one is written as %20.
Is Base64 secure?
No. It is an encoding, not encryption, and anyone can turn it back into the original text.
How do I convert text to binary?
Choose binary and paste your text. Each character is shown as one or more 8-bit bytes.
Is the text I paste sent anywhere?
No. Encoding and decoding happen in your browser, so private links and tokens stay on your device.