URL encoder / decoder
Handle URL encoding by URI, Component, or form rules.
- views
- —
- favorites
- —
Tool description and FAQ
Tool Guide
01Select Component, URI or Form
Component is used for a single query parameter or path fragment, and will encode reserved characters such as &, =, ? and so on. URIs are used for complete addresses, retaining URL structure notation. Form uses + to represent spaces and encodes the original + as %2B.
02Decoding and query parameters
Select the mode consistent with the input source. Form decoding interprets + as a space; Component and URI retain the original +. When decoding the full address, the query parameters are listed below, and repeated parameters are kept as multiple items.
03File, edit and save results
Open or drag a text file into the input area and use line numbers and search to locate the content. Results can be copied or downloaded; reverse transformation puts the current results back into the input area and switches direction. Inputs and files can be up to 5 MB and are only processed in the current browser. Content is not uploaded and will not be automatically saved.
FAQ
Q1Why do spaces become +?
This is the rule for Form mode. Select Component when %20 is required. The original plus sign will be encoded as %2B and can be recovered after Form decodes it.
Q2Why does URI decoding still retain %26?
decodeURI will retain escape characters that may affect the URL structure to avoid mistaking parameter content as delimiters. Use Component or Form when decoding individual parameter values.
Q3Can I open the entered address directly?
The tool only processes text, does not access the input address, does not check whether the website exists, or initiate network requests. Query parameters may contain sensitive information, please check yourself before copying or sharing.