URL Encoder / Decoder

Encode special characters for URLs or decode percent-encoded strings instantly.

What is URL Encoding?

URL encoding (also called percent-encoding) replaces unsafe characters with a % followed by two hex digits. For example, a space becomes %20, and & becomes %26.

encodeURI encodes a full URL but preserves characters like :, /, ?, #, and &.

encodeURIComponent encodes everything except A-Z a-z 0-9 - _ . ~ ! * ' ( ) — use this for query parameter values.

API Endpoint

Use the DevTools API for programmatic URL encoding:

GET https://ai.doxx.lat/api/url/encode?text=hello+world
GET https://ai.doxx.lat/api/url/decode?text=hello%20world