Code to go logo
Created using Figma
Use Cases
Contribute
How to decode url in JavaScript
URL
By Jad Joubran ·
Last updated Dec 18, 2017
const search = "hello%20world%3F"; decodeURIComponent(search);
hello world?
Dec 18, 2017
1
Jad Joubran
See answer
1
Jad Joubran
decodeURIComponent
on MDN
Learn JavaScript step by step
Related use cases
How to encode url in JavaScript