URL encoder & decoder
Encode a URL component, form value, or whole URL and decode escaped UTF-8 text. Choose how spaces and separators are handled without sending a request.
How to URL Encode and Decode Text
Find & replace in input
Undo: Ctrl/Cmd+Z · Redo: Ctrl/Cmd+Shift+Z or Ctrl+Y. Up to 20 steps and 4 million retained characters in this tab. Clear discards history.
URL encoder & decoder: how to use it
- Paste a query value, path segment, or encoded text.
- Choose URL component, form value, or whole URL encoding, then Encode or Decode.
- Copy or download the result for use in your application.
Limits and notes
Up to 1 million input characters. Component mode escapes reserved punctuation; form mode follows URLSearchParams rules. Whole URL mode uses encodeURI/decodeURI to preserve separators, including reserved percent escapes when decoding. Decoding rejects malformed percent escapes and invalid UTF-8. No URL is opened or fetched.
How your privacy works →URL encoder & decoder: common questions
When does + mean a space?
Only in form value mode. In URL component mode, a literal + stays + on decoding; an encoded space is %20.
Should I paste an entire URL?
Select Whole URL to preserve separators such as : and /. Use component or form value mode for individual parameters. This is an encoder, not a URL validator; it never opens the address.
How do I encode text for a URL?
Choose the style for the destination: URL component for an individual value or path segment, Form value for form serialization, or Whole URL for an assembled address whose separators should remain. Paste the text and press Encode. The tool does not open the address.
Why does my URL contain %25?
%25 represents a percent sign. It can appear when encoded text is encoded again, as %2F becoming %252F in component mode. Determine the expected layer; repeatedly decoding can change data into structural punctuation.