How to validate a path string is properly URL encoded?
Online decoder
https://gchq.github.io/CyberChef/
More on reddit.com[MOD] NO MORE LINKS (ENCODE THEM WITH BASE64 INSTEAD)
Loving this, revival of songstems. keep it up jefe
More on reddit.comDecoding URLS?
Videos
As the title states, I need to validate that a UTF-8 path string is URL encoded. Validation needs to be strict, i.e., it needs to fail if one or more unicode glyphs in the path string are not properly percent encoded according to RFC3986.
Does such a function exist?
You can use a built-in Javascript function decodeURI() to decode URLs.
This should work in your browser's Javascript console:
console.log(decodeURI('<your url here>'));
I want to use a secure trustworthy public service that doesn't harvest my submission.
Based on your criteria, the only way a service can become trustworthy is by 1) performing the operation entirely client-side, and 2) you inspecting its source code before use.
As it happens, most sites you linked to are client-side JavaScript apps, and in particular the site https://meyerweb.com/eric/tools/dencoder/ consists of exactly one self-contained HTML file with only 3 lines worth of JS code in the "decode" function.
It's then up to you to interpret the evidence that has been presented.
But I don't want to write a software program or any software code to decode it.
I wrote the necessary software code:
echo "<URL>" | ruby -ruri -e 'puts URI.decode(gets)'
echo "<URL>" | perl -pe 's/%([A-Fa-f0-9]{2})/pack("C", hex($1))/gse'
echo "<URL>" | python3 -c 'import sys, urllib.parse; print(urllib.parse.unquote(sys.stdin.read()))'