XMOOO TOOLSFree Online Developer & Calculator SuiteLoading Encode/decode URL-formatted strings…
100% Client-Side · Zero Server Uploads

Encode/decode URL-formatted strings

Encode text to URL-encoded format (also known as "percent-encoded"), or decode from it.

Initializing interactive Encode/decode URL-formatted strings workspace…

About Encode/decode URL-formatted strings

Encode text for safe use inside URL query parameters or decode percent-encoded strings (`%20`, `%3A`, `%2F`) back into clean text instantaneously on XMOOO Tools using standard `encodeURIComponent` / `decodeURIComponent` locally.

How to Use Encode/decode URL-formatted strings

  1. Paste any raw text or URL parameter into the Encode box to convert reserved characters to %XX notation.
  2. Paste a percent-encoded string in the Decode box to restore readable UTF-8 text.
  3. Click Copy to export the result.

Common URL Percent-Encoding Reference

CharacterEncodedMeaning in URLs
Space ( )%20Whitespace delimiter
/%2FPath segment separator
?%3FStart of query string
&%26Query parameter separator
=%3DKey-value assignment

Frequently Asked Questions

Why are spaces sometimes encoded as %20 and sometimes as +?

RFC 3986 encodes spaces in URLs as %20, while HTML form submission (application/x-www-form-urlencoded) encodes spaces in query strings as "+".

Does URL encoding support Unicode / Chinese / Emoji characters?

Yes. Non-ASCII characters are converted into UTF-8 bytes first and then percent-encoded byte by byte.

Need to inspect all query parameters of a full URL?

Try our companion URL Parser tool in the Web category to extract hostname, pathname, hash, and every query parameter into a neat table.