Aller au contenu principal

URL Encoder/Decoder

Free online tool to encode and decode URLs instantly. Perfect for encoding query parameters, handling special characters in URLs, and working with web APIs. Supports component-specific encoding for paths, query strings, and full URLs.

All processing happens in your browser

Full URL: Encodes the entire URL including protocol, domain, and special characters. Component: Encodes only specific parts (query parameters, path segments) while preserving URL structure.

👈 Enter text to encode or decode

Or click "Load Example" below to see how it works. Use the swap button to toggle between encode and decode modes. All processing happens in your browser.

Share: Twitter Facebook LinkedIn Email

How to Use the URL Encoder/Decoder

  1. 1.Choose your conversion direction (Encode or Decode)
  2. 2.Select encoding type: "Full URL" for complete URLs or "Component" for query parameters and path segments
  3. 3.Enter your URL or text to encode/decode
  4. 4.The conversion happens instantly - no need to click a button
  5. 5.Copy or share your results

What is URL Encoding?

URL encoding (also known as percent-encoding) converts special characters in URLs into a format that can be transmitted over the internet. Special characters are replaced with a "%" followed by two hexadecimal digits.

For example, a space is encoded as %20, and an ampersand (&) is encoded as %26.

Pour plus d'outils pour développeurs, visitez PassphraseForge.

Common Use Cases:

  • Encoding query parameters in URLs
  • Handling special characters in API requests
  • Creating shareable URLs with complex data
  • Form submissions with special characters
  • Passing data in URL paths
  • Encoding search queries

Commonly Encoded Characters

CharacterEncodedDescription
Space%20 or +Space character
!%21Exclamation mark
#%23Hash/pound sign
$%24Dollar sign
%%25Percent sign
&%26Ampersand
=%3DEquals sign
?%3FQuestion mark

Frequently Asked Questions

What's the difference between Full URL and Component encoding?

Full URL encoding (encodeURI) encodes the entire URL while preserving URL structure characters like :, /, ?, and #. Component encoding (encodeURIComponent) encodes all special characters including those used in URL structure, making it ideal for encoding query parameters and path segments.

Why do I see %20 instead of + for spaces?

Both %20 and + are valid encodings for spaces. %20 is the standard percent-encoding, while + is a shorthand often used in query strings. This tool uses %20 (standard encoding) by default.

Is my data safe?

Yes! All conversions happen locally in your browser using JavaScript. Your data never leaves your device and is never sent to any server.

DataValidate Pro

DataValidate Pro

Suite de validation et conversion de données pour développeurs

Confidentialité d'Abord

Tout le traitement se fait dans votre navigateur. Vos données ne quittent jamais votre appareil.

Lire notre Politique de Confidentialité →

Info

© 2026 DataValidate Pro

Outils gratuits pour développeurs

?Keyboard shortcuts

Avertissement: Les outils fournis sur DataValidate Pro sont à des fins d'information et de développement uniquement. Bien que nous nous efforcions d'être précis, ces outils ne doivent pas être utilisés pour des décisions commerciales critiques, la conformité légale, les évaluations de sécurité ou les déploiements en production sans validation appropriée. Vérifiez toujours les résultats de manière indépendante et consultez des professionnels qualifiés pour les décisions importantes. Nous ne garantissons pas l'exactitude, la fiabilité ou l'exhaustivité des conversions ou validations effectuées par ces outils.