URL Encoder / Decoder

Encode or decode URL components and query strings. Everything happens locally.

Encode special characters, spaces, and non-ASCII text into percent-encoded URL-safe format, or decode a percent-encoded query string back to readable text. Useful when building a URL by hand, debugging a query parameter that's rendering oddly, or decoding a link that's been pasted somewhere with %-encoding. Encoding and decoding both run locally using the browser's native encodeURIComponent/decodeURIComponent.

Runs in your browser // nothing is uploaded

Runs on your device. This tool processes your file inside this browser tab. Nothing is uploaded, so it also works offline once the page has loaded, and closing the tab discards the file from memory.

Loading tool

How it works

  1. 01

    Paste text or a URL component.

  2. 02

    Switch between Encode and Decode.

  3. 03

    Copy the result.

Details

Runs
In your browser
Files uploaded
No
Cost per run
Free
Sign-in
Not required
Works offline
Yes, once loaded

Last updated 2026-08-12

Common questions

What gets encoded?

Spaces, symbols, and non-ASCII characters are converted to their percent-encoded (%XX) equivalents, safe for use in a URL.

Why would a URL fail without encoding?

Characters like spaces, &, and # have special meaning in URLs and query strings, so unencoded values can break parsing or truncate parameters.

Is my input uploaded anywhere?

No - encoding and decoding run locally.

What's the difference between encodeURIComponent and encodeURI?

This tool uses component-level encoding, which also escapes characters like & and = - the right choice for individual query parameter values.

Use this from your code

This tool is also a REST endpoint, so you can run it in a pipeline instead of by hand. It is free and needs no API key. See the API reference for every parameter.

curl -X POST https://fileoven.com/api/v1/tools/url-encoder \
  -H "Content-Type: application/json" \
  -d '{"text":"hello world"}'

Related tools