1. Use only ASCII letters, digits, dot, hyphen and underscore
The safest character set is [A-Za-z0-9._-]. Every modern OS, web server and protocol handles these without needing to escape or encode anything. Enable Strict mode above for this.
Strip unsafe characters from filenames — spaces, slashes, quotes, emoji and accented letters — so your files work on Windows, macOS, Linux, web servers and FTP without surprises. 100% private: nothing uploads.
No files added yet.
Drop files into the bar above to start.
Processing happens entirely in your browser. Nothing is uploaded.
Different operating systems and protocols disagree on what's allowed in a filename. Here's a quick reference:
< > : " / \ | ? *CON, PRN, AUX, NUL, COM1–9, LPT1–9/ (path separator) — universally banned\0%20If you want filenames that work everywhere — Windows, macOS, Linux, S3, GitHub, FTP, email — follow this checklist:
The safest character set is [A-Za-z0-9._-]. Every modern OS, web server and protocol handles these without needing to escape or encode anything. Enable Strict mode above for this.
Spaces are legal but cause more pain than they're worth: shell scripts need quoting, URLs need %20, and many old tools split filenames at spaces. Convention: dashes for human-readable names, underscores for code-like names.
Linux file systems are case-sensitive (Photo.jpg ≠ photo.jpg); Windows isn't. Mixing cases breaks cross-platform builds, version control and Docker mounts. Pick lowercase and stick to it.
Most file systems allow 255 bytes per name, but long filenames break: Windows path limits (260 chars including the path), email subject-line constraints, certain ZIP tools, and old SFTP clients. 64 chars (before extension) is a defensive default.
Emoji in filenames look fun but break: GitHub issues with bot integrations, CI systems with older Java/Python, and any pipeline that round-trips through ASCII. Save emoji for tags and descriptions, not filenames.
Yes — completely free, no signup, unlimited use.
No. The tool runs entirely in your browser. Your files are read locally; only the renamed copies are zipped and downloaded.
No. Only the filename inside the ZIP is changed. The bytes of each file are byte-identical to the original.
The Bulk Renamer is general-purpose (find & replace, prefixes, regex, sequencing). This Sanitizer is purpose-built for cross-platform safety with sensible defaults — drop files, click download, done.
Strips accents and normalises non-Latin characters to their nearest ASCII equivalent. Examples: café → cafe, naïve → naive, résumé → resume. Useful when targeting old systems that don't speak Unicode.
FilesDesk handles whole folder trees, preserves paths, and combines sanitization with AI-powered renaming based on file content.
Try FilesDesk free