Developer Utilities · Free tool
Filename Cleaner
Clean filenames by removing illegal characters, trimming length, and collapsing spaces. Safe on Windows, macOS, and Linux.
Updated April 2026
Options
Results (3)
| Before | After |
|---|---|
| My Vacation Photo (2024).JPG | my-vacation-photo-2024.jpg |
| Résumé — Final Draft.pdf | resume-final-draft.pdf |
| Product@Spec#1.docx | productspec1.docx |
What it does
Clean filenames that are about to be uploaded, committed, or zipped: strips characters that fail on Windows (<>:"/\|?*), collapses spaces to hyphens, trims long names, and keeps the extension intact. Supports batch mode for a pasted list of filenames.
Related: slug generator, special character remover, and MIME type lookup.
How to use it
- Paste one filename per line.
- Pick separator (dash / underscore / dot) and case.
- Toggle truncation, unicode stripping, and duplicate-dedupe.
- Copy the cleaned list.