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. Any algorithm for the "URL Decoder" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "URL Decoder" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "URL Decoder" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: URL Decoder on dCode.fr [online website], retrieved on 2025-04-14,