Tool for decoding URLs with percent encoding (URL encoder/decoder) with replacement of %00 and decomposition the various elements of the URL (domain, path, query, etc.)
URL Decoder - dCode
Tag(s) : Internet, Character Encoding
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A URL can only be composed of a limited number of characters: 10 digits (0-9), 26 lowercase letters (az), 26 uppercase letters (AZ), and some special characters' - ,. , _ , ~ ,? , # ,% '
To write other characters, use URL encoding, writing them with the character % as %code.
A URL can be split down into several parts:
Example: here
Scheme | http or https |
Host | google.com |
Port (optional) | 80 or 443 |
User (optional) | |
Pass (optional) | |
Path | /search |
Query (after the "?") | q=test&hl=en |
Fragment (after "#") | id |
The contents of the query string (query_string) can also be decomposed
Example: q=test&hl=en has 2 parameters, q which has the value test and hl which has the value en
This work is usually done by a URL parser, present on browsers, and on this dCode page.
By default in a URL, only alphanumeric characters (letters and numbers) are allowed as well as a short list - _ . ! ~ * '(). All other characters must be encoded with a %. An exception for the space character that can be encoded with a +.
Example:
%20 | space |
%3C | < |
%3E | > |
#23 | # |
etc. |
More generally any character can be encoded in HTML4 with its ASCII code (more precisely Windows-1252 encoding) and since HTML5 in UTF-8.
dCode retains ownership of the "URL Decoder" source code. Except explicit open source licence (indicated Creative Commons / free), the "URL Decoder" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "URL Decoder" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "URL Decoder" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "URL Decoder" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
URL Decoder on dCode.fr [online website], retrieved on 2024-12-19,