Encodeur/Decodeur URL
Encodez ou decodez des URL et des parametres de requete.
How to Use the URL Encoder/Decoder
- Enter a URL or text — Paste a URL containing special characters, or text you want to make URL-safe.
- Choose Encode or Decode — Use Encode for full URLs or Encode Component for individual query parameter values.
- Use Decode for reading — Paste a percent-encoded URL and click Decode to see the original human-readable text.
- Copy the result — Click the Copy button to place the encoded or decoded text on your clipboard.
- Understand the difference — Use Encode for full URLs (preserves /, ?, #) and Encode Component for parameter values (encodes everything).
About URL Encoder/Decoder
URL encoding (percent-encoding) is a mechanism for converting special characters into a format that can be safely included in a URL. Since URLs can only contain a limited subset of ASCII characters, characters like spaces, accented letters, and symbols must be converted to percent-encoded sequences (e.g., %20 for space, %C3%A9 for the letter "e" with acute accent).
This tool provides both standard URL encoding (encodeURI) and component encoding (encodeURIComponent). The standard encode preserves URL-structural characters like slashes and question marks, making it ideal for encoding complete URLs. Component encoding converts all special characters, which is necessary when encoding individual query string values that might contain reserved characters like & or =.
Web developers, API testers, and SEO professionals frequently need to encode and decode URLs. Whether you are constructing API requests with query parameters, debugging encoded redirect URLs, or ensuring your links work correctly with international characters, this tool provides instant, accurate results with no server-side processing.
Frequently Asked Questions
What is URL encoding and why is it needed?
URL encoding (also called percent-encoding) converts special characters into a format safe for use in URLs. Characters like spaces, ampersands, and non-ASCII characters are replaced with percent signs followed by hex values (e.g., space becomes %20). This is required because URLs can only contain a limited set of ASCII characters.
What is the difference between Encode and Encode Component?
Encode (encodeURI) encodes a full URL while preserving characters that have special meaning in URLs like /, ?, #, and &. Encode Component (encodeURIComponent) encodes everything including those characters, making it suitable for encoding individual query parameter values that might contain reserved URL characters.
How do I encode a URL with special characters?
Paste your URL into the input field and click Encode. For encoding a query parameter value that might contain &, =, or other reserved characters, use Encode Component instead. The encoded result can be safely used in links, API calls, and HTTP requests.
What does %20 mean in a URL?
%20 is the URL-encoded representation of a space character. When you see %20 in a URL, it means there is a space in the original text. Other common encoded characters include %26 for &, %3D for =, and %3F for ?.
Can I decode a URL that contains percent-encoded characters?
Yes. Paste the encoded URL into the input field and click Decode (or Decode Component). The tool will convert all percent-encoded sequences back to their original characters, making the URL human-readable.