Skip to main content
Kept Tools
← Back to all tools

Text

URL Component Encoder / Decoder

Encode or decode a URL component with the browser's standard percent-encoding APIs. This tool does not parse or normalize whole URLs.

Privacy

Tool workspace

How URL component encoding works

Encode or decode one URL component with encodeURIComponent and decodeURIComponent. The tool does not parse, validate, or normalize a complete URL.

Use cases

Encode query parameters, path segments, or form values before placing them in a URL, or decode one percent-encoded component back into readable text.

Privacy

All conversions are performed locally in your browser memory. Your data is never sent to a server.

Limitations

Extremely large inputs might slow down your browser since all processing happens on the main thread.

FAQ

Which characters are encoded?

The output matches the browser's encodeURIComponent behavior: it percent-encodes a single component while leaving only the characters that API preserves.

Is my data sent anywhere?

No. The encoding and decoding processes run entirely in your browser.

Why do I get an invalid decode error?

The error occurs if the input contains a malformed percent-encoded sequence (e.g., % followed by invalid hexadecimal characters).

Is this tool secure?

Yes, all processing is done locally in your browser. No data is sent to our servers.

Related tools

Text

HTML Entity Converter

Escape or decode the five essential HTML text characters in your browser. This utility is not an HTML sanitizer or a context-aware XSS defense.

Text

Text Converter

Convert rich text into HTML, Markdown, and JSON in your browser with sanitized preview, copy actions, downloads, and clear document stats.