URL converter

Quickly decode or encode URLs online with our simple and convenient conversion tool. Try it now!

Decode/encode URL


How it works:

  1. Type or paste the URL.
  2. The script will automatically detect whether to decode or encode the content, ensuring fast and convenient processing.

Decoding and Encoding URL Addresses Using JavaScript

// Sample URL address
var url = 'https://test.pl/test';

// Decoding the URL address
var decoded = decodeURIComponent(url);
// Encoding the decoded URL address again
var encodedAgain = encodeURIComponent(decoded);