DevToolBoxGRATIS
Blog

Codificatore / Decodificatore URL

Codifica o decodifica URL e componenti URI. Supporta encodeURIComponent e encodeURI. Gratuito, nessuna registrazione.

Informazioni sulla codifica URL

La codifica URL sostituisce i caratteri ASCII non sicuri con un "%" seguito da due cifre esadecimali. È essenziale per passare caratteri speciali in URL, parametri di query e dati dei form. Usa encodeURIComponent per i parametri di query e encodeURI per gli URL completi.

Domande frequenti

𝕏 Twitterin LinkedIn

💬 User Feedback

Have suggestions or found a bug? Leave a message and we'll get back to you.
0/2000

Valuta questo strumento

4.7 / 5 · 107 valutazioni

Resta aggiornato

Ricevi consigli dev e nuovi strumenti ogni settimana.

Niente spam. Cancella quando vuoi.

Enjoy these free tools?

Buy Me a Coffee

Come usare

  1. Enter text in the input field
  2. Choose between URI Component or Full URI encoding mode
  3. Click 'Encode' or 'Decode'
  4. Copy the result

Casi d'uso

  • Encoding query parameters in URLs
  • Encoding form data for submission
  • Handling special characters in API requests
  • Debugging URL encoding issues

Domande frequenti

What is URL encoding?
URL encoding replaces unsafe ASCII characters with a '%' followed by two hex digits. This ensures special characters are safely transmitted in URLs.
What's the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL but preserves characters like :, /, ?, &. encodeURIComponent encodes everything including those characters, making it suitable for query parameter values.
When should I URL encode?
Always URL encode when passing user input as query parameters, form data, or any URL component that may contain special characters like spaces, &, =, or #.