Skip to content
Input
Text
URL limit
8 KiB
Runtime
Browser

Percent-encode one UTF-8 URL component

Encode component text once without treating it as a full URL, query string, or Base-N payload.

Local processingNo sign-upNo fetch or upload

Encode component

URL text stays in this tab. Nothing is opened or checked online.

Tool Swim does not upload, fetch, save, log, or create presets from these values.

Percent-encoded component

Results are inert text or JSON with the applied interpretation visible.

What this tool proves

Explicit URL interpretation

This operation encodes UTF-8 component data. A slash becomes %2F, a plus becomes %2B, and a space becomes %20.

Component percent encoding is context-specific

This operation encodes UTF-8 component data. A slash becomes %2F, a plus becomes %2B, and a space becomes %20.

The output is plain text from exactly one encodeURIComponent pass. Unpaired UTF-16 surrogates fail instead of being silently replaced.

Private, bounded URL processing

The operation runs only after you choose it. Input stays in the current browser tab: Tool Swim does not fetch a destination, resolve DNS, test reachability, upload content, save an account preset, or invoke the developer API.

URLs are capped at 8 KiB, query text at 256 KiB, component text at 64 KiB, query lists at 2,000 pairs, each query name or value at 8 KiB, and serialized output at 1 MiB.

Primary references

Questions and answers

Related URL tools