Filename Sanitizer

Clean a filename for safe use in URLs, shells and every filesystem — accents transliterated, unsafe characters replaced.

Top ad slot

Related tools

Bottom ad slot

How it works

  1. 1

    Type or paste a filename

    Even one with spaces, accents or symbols.

  2. 2

    Cleaned instantly

    Accents are transliterated, unsafe characters become hyphens, extension is lowercased.

  3. 3

    Copy the safe filename

    Ready to use in a URL, a shell command or any filesystem.

FAQ

What counts as an "unsafe" character?
Anything outside letters, digits, dots, underscores and hyphens — spaces, accents, symbols like ! or ? — is replaced with a hyphen.
Does it handle Vietnamese or other accented filenames?
Yes — accented characters (including Vietnamese đ/Đ) are transliterated to plain ASCII before cleaning.
Does this tool upload my filename anywhere?
No — it runs entirely in your browser.

Tool4U.net — every tool runs in your browser. No file ever leaves your device unless the tool says so.