URL Decode CSV
Paste URL-encoded CSV data and instantly decode all values back to readable text
Paste URL-encoded CSV full of %20, %2C, and %0A sequences and get clean, readable text back instantly — decode the whole blob at once or just individual cell values. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool scans your text for percent-encoded sequences like %20 (space) or %2C (comma) and converts them back to their original characters using JavaScript’s built-in decodeURIComponent. In “values only” mode, it splits each row into cells first so commas and line breaks stay intact as CSV delimiters. Plus signs get treated as spaces too, since that’s how form data works.
Examples
API Response with Encoded Spaces and Symbols
Your analytics API returned CSV with every space and special character percent-encoded.
name%2Cemail%2Ccity%0AJohn%20Doe%2Cjohn%40example.com%2CNew%20York%0AJane%20Smith%2Cjane%40test.org%2CSan%20Francisco
name,email,city
John Doe,[email protected],New York
Jane Smith,[email protected],San Francisco
Form Submission Data with Plus Signs
HTML form data uses + for spaces instead of %20. Common gotcha.
product,price,note
Widget+A,9.99,Best+seller
Gadget+B,14.50,On+back+order
product,price,note
Widget A,9.99,Best seller
Gadget B,14.50,On back order
Query String Export with Mixed Encoding
Scraped data from URLs where some cells have encoded ampersands, quotes, and Unicode characters mixed together.
title,url,status
Q1%20Report%20%26%20Summary,/docs%3Fid%3D42,Done
Caf%C3%A9%20Menu%20v2,/menu%3Flang%3Dfr,Draft
title,url,status
Q1 Report & Summary,/docs?id=42,Done
Café Menu v2,/menu?lang=fr,Draft
Who Uses This
Cleaning up CSV payloads from API query strings and webhook data before loading into databases.
Making exported report data readable again after it passed through a URL-encoded pipeline.
Inspecting form submission payloads to verify the right data made it through to the server.
Decoding config values or environment variables that got percent-encoded during deployment.
Common Mistakes
If your commas are encoded as %2C, decoding the whole blob turns them back into real commas — which wrecks your column structure. Switch to “Decode values only” mode so the tool splits on existing delimiters first and decodes each cell separately.
Sometimes data gets encoded twice — %2520 instead of %20. One decode pass gives you %20, which still looks wrong. Just paste the result back in and decode a second time.
If your CSV came from an HTML form, spaces show up as + instead of %20. This tool handles both, but be aware of the difference if you’re debugging why the raw data looks different from what you expect.
Technical Details
- Processing: 100% client-side — your data stays in the browser
- Decoding Engine: JavaScript
decodeURIComponent() - Input Limit: No hard cap; handles thousands of rows without issues
- Browser Support: Chrome, Firefox, Safari, Edge
- Output Format: Plain text CSV, downloadable as .csv file
Frequently Asked Questions
What is URL-encoded CSV data?
It’s CSV where special characters have been replaced with percent codes. Spaces become %20, commas become %2C, ampersands become %26, and so on. This happens automatically when CSV data gets passed through URLs, API query strings, or HTML form submissions.
When should I use “Decode values only” vs “Decode entire content”?
Use “Decode values only” when your CSV structure (commas and newlines) is already intact and just the cell contents are encoded. Go with “Decode entire content” when the whole string — including delimiters — got encoded as one chunk. If you’re not sure, try “values only” first since it’s safer for preserving column layout.
Does this tool handle plus signs as spaces?
Yes. In application/x-www-form-urlencoded format (what HTML forms use), spaces are represented as + instead of %20. The decoder converts both forms back to regular spaces.
Can I decode CSV that was URL-encoded twice?
Absolutely. Double encoding produces sequences like %2520 (where the % in %20 itself got encoded). Run the decoder once to get %20, then paste that output back in and decode again. Two passes strips both layers.
Is my CSV data sent to a server when I use this tool?
No. The decoding happens entirely in your browser using JavaScript. Nothing gets uploaded, stored, or transmitted anywhere. You can even disconnect from the internet after loading the page and it will still work.