Filename checker
Paste names, one per line, or drop files. Only the names are read. Each name is checked against the rules of Windows, macOS and Linux, and you get a version that works on all three.
Or drop files here. Only their names are read; the files are not opened.
No names to check yet
Type or paste file names above, or choose files. Each name is checked against the rules of Windows, macOS and Linux.
Every rule in one pass
Characters Windows refuses, reserved names such as CON and LPT1, trailing dots and spaces, the colon macOS Finder rejects, and names over 255 bytes.
A safe version to copy
Illegal characters become hyphens, repeated separators collapse, reserved names get an underscore, and the extension is kept.
Only names are read
The check runs in this browser. A dropped file is not opened; its name is the only thing the page uses.
Questions
Filename checker, answered
Which characters are not allowed in Windows file names?
Backslash, forward slash, colon, asterisk, question mark, double quote, less than, greater than and the vertical bar, plus control characters. A name also cannot end in a dot or a space.
Why is a file called CON or NUL a problem?
Windows reserves CON, PRN, AUX, NUL, COM1 to COM9 and LPT1 to LPT9 for devices. A file with one of those names, even with an extension such as CON.txt, cannot be created or opened normally on Windows.
How long can a file name be?
Most file systems on Windows, macOS and Linux allow 255 bytes for one name. Letters outside basic ASCII take two to four bytes each in UTF-8, so a name with accents or other scripts reaches the limit sooner. Older Windows programs also stop at 260 characters for the full path, folders included.
Does this rename my files?
No. It lists the problems and gives a safe name to copy. To rename a batch by what is inside the files, use the renamer in the app.
Related
More tools
- Invoice
- Bank Statement
- Photo
Rename files by their contents
The renamer reads dates, companies, document types and numbers from your files on your device, and names each file from them.
Your files are read on your device and never uploaded