Decode URL

Decode a URL-encoded string back to its original form.

Code

Utilities
decodeURIComponent(str);

Parameters

The URL-encoded string to decode.

Browser·fetch() may be limited by CORS

More JavaScript Snippets