← All Tools

🔗 URL Encoder / Decoder

Encode special characters in URLs or decode percent-encoded strings with component/full URL/query modes and copyable debug summaries.

Sensitive URL warning

  • URLs and query strings often contain tracking IDs, auth codes, email addresses, or signed access tokens.
  • Do not paste private links, reset links, OAuth callbacks, or signed download URLs unless you are comfortable inspecting them here.

URL encoding checks

  • Supports component encoding, full URL normalization, query-string encoding, and percent decoding.
  • Reports typed errors for empty input and malformed percent-encoding sequences.
  • Warns on auth-code, token, signature, and secret-like URL parameters.
  • Produces copyable JSON summaries for API/MCP-safe deterministic encoder coverage.
Runs in your browser

URL encoding and decoding run locally in your browser. Shared links only include URL input when you explicitly opt in.

What this tool does

URL Encoder and Decoder converts text to percent-encoded URL-safe strings and decodes encoded URL components.

Why it is useful

It helps build query strings, debug callback URLs, inspect tracking links, and avoid broken links caused by spaces or special characters.

How it works

The browser applies URL component, full URL, or query-string encoding rules to the provided text.

Best input

Encode individual query values or path components unless a full URL normalization is what your target system expects.

Debugging tip

Decode suspicious long URLs carefully to inspect parameters before visiting or sharing them.

Privacy note

URL encoding and decoding happens locally in your browser.

Important limitation

Decoded URLs may contain unsafe destinations or sensitive tracking parameters. Inspect before opening links.

Quick answers

Should I encode a full URL?

Usually encode the component being placed inside another URL, such as a query parameter value.

Why do spaces become %20?

Percent encoding represents characters that are not safe or unambiguous in URLs.

API examples

Call the same deterministic core through Utilito’s compact API router. Send only data you intentionally submit to the server-side endpoint.

Try in API playground →Schema →
Encode a URL with curl
curl
curl -X POST https://utilito.dev/api/run \
  -H "Content-Type: application/json" \
  -d '{"tool_id":"url-encoder","input":{"input":"https://example.com/search?q=utilito tools","action":"encode","mode":"full-url"}}'
Encode a URL from JavaScript
javascript
const res = await fetch('https://utilito.dev/api/run', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    tool_id: 'url-encoder',
    input: { input: 'https://example.com/search?q=utilito tools', action: 'encode', mode: 'full-url' }
  })
});
const data = await res.json();
console.log(data.result.output || data.result.report);
Encode a URL from Python
python
import requests
payload = {
    "tool_id": "url-encoder",
    "input": {"input": "https://example.com/search?q=utilito tools", "action": "encode", "mode": "full-url"},
}
result = requests.post("https://utilito.dev/api/run", json=payload).json()["result"]
print(result.get("output") or result.get("report"))

Common Use Cases

Encode query parameter values

Safely place spaces, symbols, and non-English text inside query strings.

Decode OAuth callback URLs

Inspect callback parameters and errors without sending the URL anywhere.

Debug tracking links

Decode long links to see nested destinations and parameters before sharing or visiting them.

Related Tools

📐Unit Converter🕐Unix Timestamp Converter🔢Number Base Converter📊CSV to JSON Converter🔁JSON to CSV ConverterCSV to Markdown Table
View all in Convert →