pipr.tools
Pipes
Clean Email Strip formatting from pasted email for clean plain text Clean AI Output Clean plain text from ChatGPT or AI output Decode & Format JWT Decode a JWT and pretty-print header and payload Word Frequency Count word frequency in text

url-decode Decode percent-encoded text

{ } Encode
Input0 chars
Output0 chars

Examples

Decode a percent-encoded query string

Usage
"search%20query%3Dhello%20world%26lang%3Den" | url-decode

Read a mangled campaign URL from Google Analytics

Usage
"utm_campaign%3Dsummer%20sale%202025%26utm_source%3Demail" | url-decode

Decode a URL from a bounced email report

Usage
"subject%3DRe%3A%20Your%20Order%20%23123%20%E2%80%93%20Shippe..." | url-decode
View source
(input)=>{
                try {
                    return decodeURIComponent(input);
                } catch (e) {
                    return `Error: ${e.message}`;
                }
            }