DevCipher › Encoding › URL Encoder URL Encoder Percent-encode text for URLs.
How URL encoding works
Characters that have special meaning in URLs (such as & = ? / and spaces) are replaced with % followed by their UTF-8 bytes in hex, e.g. a space becomes %20.
"Component" mode (encodeURIComponent) escapes everything except letters, digits and - _ . ! ~ * ' ( ). "Full URL" mode keeps URL structure characters like : / ? #. "Form" mode writes spaces as +.
Processed locally in your browser — your input is never uploaded.
What is URL Encoder?
Percent-encode text for URLs. Characters that have special meaning in URLs (such as & = ? / and spaces) are replaced with % followed by their UTF-8 bytes in hex, e.g. a space becomes %20.
Is URL Encoder free to use?
Yes. URL Encoder on DevCipher is completely free, with no sign-up, no limits and no ads.
Is my data safe when I use URL Encoder?
Yes. Everything runs locally in your browser. Your input is never uploaded to a server, and sensitive values such as keys and tokens are never saved.
All developer tools URL Encode / Decode — Encode and decode URLs side by sideBase64 Encode / Decode — Encode and decode Base64 side by sideBase64 Encoder — Encode text or files to Base64Base64 Decoder — Decode Base64 back to textBase64URL Encoder — URL-safe Base64 without paddingBase64URL Decoder — Decode URL-safe Base64URL Encoder — Percent-encode text for URLsURL Decoder — Decode percent-encoded textHex Encoder — Convert text to hexadecimal bytesHex Decoder — Convert hexadecimal bytes to textBinary Encoder — Convert text to 8-bit binaryBinary Decoder — Convert 8-bit binary to textUnicode Encoder — Escape characters as \uXXXXUnicode Decoder — Turn \uXXXX escapes into textHTML Entity Encoder — Escape &, <, >, quotes for HTMLHTML Entity Decoder — Turn entities back into charactersImage to Base64 — Convert an image to a Base64 data URIBase64 to Image — Decode Base64 to an image and download itAES Encrypt / Decrypt — AES-128/192/256 encryption and decryptionRSA & PEM Tools — Generate keys, encrypt, decrypt, sign, verifyHash Generator — MD5, SHA-1/2/3, SHAKE and BLAKE2HMAC Generator — Keyed hashes: HMAC-SHA256 and moreString ⇄ JSON — Convert escaped strings to JSON and backJSON Formatter — Format, validate and minify JSONJSON Comparator — Find differences between two JSON documentsJSON Tree Viewer — Explore JSON as an expandable treeJSON to Code — Generate types for TypeScript, Java, Go, Python, C#JWT Decoder — Decode and inspect JSON Web TokensJWT Generator — Create signed HS, RS and ES tokensURL Parser — Break a URL into its componentsQuery String Parser — Parse and build query stringsUUID Generator — Generate UUID v4 and v7Password Generator — Strong random passwordsRandom String Generator — Secure random strings and tokensTimestamp Converter — Unix timestamps ⇄ human datesNumber Base Converter — Binary, octal, decimal, hex and moreColor Converter — HEX, RGB and HSL with contrast checkRegex Tester — Test JavaScript regular expressionsCSV ⇄ JSON — Convert between CSV and JSONYAML Formatter — Format, validate and convert YAMLXML Formatter — Pretty print, minify and validate XMLSQL Formatter — Format SQL for many dialects