Skip to content
POST /api/v1/url-encode

URL Encoder / Decoder

Encode special characters in strings for safe use in URLs, or decode percent-encoded strings back to readable text. URL encoding (percent-encoding) converts characters like spaces, ampersands, and equals signs to their %XX equivalents so they don't break URL syntax.

string required
string required
X-Sandbox-Remaining: - get an api key

returns

data.output
The encoded or decoded string.
data.action
Whether you encoded or decoded.
data.output_length
Length of the result in bytes.
response awaiting request sending
Fill in the fields and send a request. The response lands here.

Run it from your code

A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.

$ curl -sX POST "https://apixies.io/api/v1/url-encode" \
    -H "X-API-Key: $APIXIES_KEY" \
    -H "Content-Type: application/json" \
    -d '{"input":"hello world & foo=bar","action":"encode"}' | jq '.data.output'

"hello%20world%20%26%20foo%3Dbar"

questions

When do I need URL encoding?

Whenever you include user input or dynamic values in URLs — query parameters, path segments, or fragment identifiers. Characters like &, =, ?, #, and spaces have special meaning in URLs and must be percent-encoded to be treated as literal values.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy