Codificador de URL
Percent-encode text for safe use in URLs. Gratis, privado y 100% del lado del cliente.
Probar un ejemplo:
Local only
Historial reciente
Sin historial aún
Uso
- Paste the text or URL into the input box.
- Choose component or full URL mode.
- Copy the percent-encoded result.
Tareas que usan esta herramienta
Construir URL query strings from objects
Construct properly encoded consulta cadenas de JavaScript objetos. Handle arreglos, nested objetos, y special caracteres correctly. TAREA
Codificar binary data into a JSON-safe string
Convertir raw bytes (images, encrypted blobs, file contents) into a Base64 string that can be embedded inside a JSON field without breaking the structure. TAREA
Codificar text for safe use inside a URL query string
Turn arbitrary texto (con spaces, ampersands, Unicode, equals signs) en un valor ese puede ser placed directly después ?key= en un URL sin breaking parsing. TAREA
Analizar a URL into components and construct URLs from parts
Decompose un URL en protocol, host, path, consulta, fragment — y construir un URL de individual componentes safely. TAREA
Analizar URL query strings
Consulta cadenas pasar clave-valor pairs en URLs después el ?. Aprender parsing, codificación, y handling de arreglos, nested objetos, y special caracteres. TAREA
Usar MQTT topic estructura para IoT messaging
MQTT topics usar slash-separated hierarchies con wildcards para subscription. Aprender topic design, QoS levels, y retained messages. TAREA
Pipelines que usan esta herramienta
Preguntas frecuentes
- Why percent-encode a URL?
- Certain characters such as spaces and '&' have special meaning in URLs. Percent-encoding makes them safe to transmit without breaking the URL structure.
- What is the difference between component and full URL modes?
- Component mode encodes every reserved character (like encodeURIComponent), while full URL mode preserves URL structure such as '://', '?', '#', and '&', encoding only spaces and truly unsafe characters.
- How are spaces encoded?
- Spaces are encoded as %20 (not '+'). The + encoding is specific to application/x-www-form-urlencoded in HTML forms; %20 is the correct general-purpose encoding for URL paths and query parameters.
- Which characters are left unencoded?
- Unreserved characters A-Z, a-z, 0-9, '-', '.', '_', and '~' are never encoded. In full URL mode, reserved characters like ':', '/', '?', '&', '=' are also preserved.
- How are multibyte characters handled?
- Characters are encoded to bytes using the selected charset (UTF-8 by default), then each byte is percent-encoded. '你好' becomes %E4%BD%A0%E5%A5%BD in UTF-8.
- ¿Se suben mis datos a algún lugar?
- No. Toda la codificación se realiza localmente en su navegador sin round-trip al servidor.
Herramientas relacionadas
Decodificador de URL
Decode percent-encoded URL text back to readable characters. Gratis, privado y 100% del lado del cliente. HERRAMIENTA
Codificador Base64
Encode text or binary data to Base64 online. Gratis, privado y 100% del lado del cliente. HERRAMIENTA
Codificador hexadecimal
Encode text to hexadecimal online. Gratis, privado y 100% del lado del cliente. HERRAMIENTA
Escape HTML
Escape or unescape HTML special characters online. Gratis, privado y 100% del lado del cliente. HERRAMIENTA
Formateador JSON
Format, minify, or sort JSON online. Gratis, privado y 100% del lado del cliente. HERRAMIENTA