URL encoder/decoder · Guía

URL Encoder and Decoder Online

A URL encoder makes text safe to put in a URL by percent-encoding reserved characters, and a decoder reverses it. This guide explains when encoding is needed and how to do it correctly.

Why URLs need encoding

Characters like spaces, ampersands and question marks have special meaning in URLs. Percent-encoding replaces them with %XX sequences so they are carried as data rather than interpreted as structure.

This tool uses the native encodeURIComponent and decodeURIComponent behaviour, so results match what browsers and JavaScript produce.

Encode or decode

Encoding takes readable text to its percent-encoded form for safe inclusion in a query parameter; decoding turns %XX sequences back into readable characters for inspection.

Preguntas frecuentes

When should I encode a whole URL versus a parameter?

Encode individual parameter values, not the whole URL — encoding the entire URL would also escape the slashes and colons that make it a valid URL.

¿Listo para probarlo?

Abre la herramienta gratuita URL encoder/decoder en el navegador y aplica lo que acabas de leer: sin registro y procesando localmente.

Abrir la herramienta URL encoder/decoder