APImcp
GuidesUtilities
ConsoleDocsMCP
Utilities ⏱ 1 min read

URL Encoder/Decoder API — Percent-Encode and Decode URLs

Encode and decode URLs with percent-encoding (URL encoding). Handle special characters, spaces, and Unicode in URLs. Free API.

01

What is URL Encoding?

URL encoding (percent-encoding) converts characters in URLs that are not allowed in their literal form into a format that can be safely transmitted. Spaces become %20, special characters like & and ? become %26 and %3F, and Unicode characters are encoded as UTF-8 byte sequences.

02

How to Use It

Call GET /api/v1/url-encoder?input=https://example.com&action=encode. Returns { action: string, input: string, output: string, encoding: string }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

What characters are encoded?
All characters except A-Z, a-z, 0-9, -._~ are percent-encoded. This includes spaces, special characters, and non-ASCII characters.