Characters to avoid in file and folder names

This guide lists the characters to avoid in file and folder names and explains why they cause problems.

Why proper naming matters

Using the wrong characters in file and folder names can cause:

Although cPanel and modern backup systems support UTF-8, we recommend avoiding special characters for maximum compatibility and safety.


Characters to avoid

Category Character Example
Currency symbols $ (dollar) invoice$2024.pdf
Special symbols % (percent), & (ampersand), + (plus), = (equal) data%report.txt, backup&old.zip
Punctuation marks ! (exclamation), ' (single quote), " (double quotes), : (colon), ; (semicolon) alert!file.doc, "draft".txt
Braces / Brackets { }, [ ], < > {project}.docx, <test>.html
Slashes & Pipes / (forward slash), \ (back slash), ` ` (pipe)
Asterisks & Question marks * (asterisk), ? (question mark) report*final.pdf, who?.txt
Spaces (blank spaces) my file.doc
Other ` (backtick), @ (at sign) `test`.sh, @notes.doc

Konet tip: Use only Latin characters, numbers, hyphens (-) and underscores (_) for safe and compatible naming.


Best practices for safe names

  • Use Latin characters (a–z, A–Z)

  • Numbers (0–9) are allowed

  • The hyphen (-) and the underscore (_) are allowed

  • Avoid accents and special characters (e.g. ά, έ, ü)

  • Do not use spaces; use _ or -

  • Lowercase names are more compatible (e.g. project_backup.zip)


Frequently Asked Questions

1. Can I use Greek characters?
Technically they are supported (UTF-8), but this is not recommended, because they can cause incompatibilities with backup systems or third-party applications.

2. Why shouldn't I use spaces in names?
Spaces often cause errors in scripts or commands (e.g. over SSH/FTP). Instead of spaces, use _ or -.

3. What happens if I use forbidden characters?
The file may not be recognized correctly, the backup may fail, or problems may occur during restoration.

4. Is there a maximum name length?
Yes. Depending on the filesystem, usually 255 characters per file/folder. Keep names short and descriptive.

5. What is best for SEO?
If your files are publicly available (e.g. images on a website), use lowercase letters, hyphens - instead of spaces, and descriptive keywords (e.g. hosting-guide-konet.pdf).

Was this article helpful?

Related service Konet Web Hosting cPanel, LiteSpeed and automatic backups: 24 every 2 hours for 48 hours, then 6 daily, 4 weekly and 3 monthly.

Related articles