Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am working on SharePoint Admin and Development part. One of our customer is using SharePoint 2013. User is getting Special character issue while uploading file in SharePoint 2013. We are searching for characters those are not allowed in SharePoint 2013 files\folders. Found for SharePoint 2010 but not found for SharePoint 2013.

Can you please help me to list down the special characters not allowed in SharePoint 2013 files\folders?

It is very urgent.


share|improve this question

3 Answers 3

You cannot use the following characters in file/folder name:

Tilde (~), Number sign (#), Percent (%), Ampersand (&), Asterisk (*), Braces ({ }), Backslash (), Colon (:), Angle brackets (< >), Question mark (?), Slash (/), Plus sign (+), Pipe (|), Quotation mark (").

You cannot use the period character consecutively in the middle of a file/folder name. You cannot use the period character at the end of a file/foldername. You cannot start a file/foldername with a period character. If you use an underscore character (_) at the beginning of a file/foldername, the file/folder will be a hidden file/folder.

In addition, file names and folder names may not end with any of strings: .files, _files, -Dateien, _fichiers, _bestanden, _file, _archivos, -filer, _tiedostot, _pliki, _soubory, _elemei, _ficheiros, _arquivos, _dosyalar, _datoteke, _fitxers, _failid, _fails, _bylos, _fajlovi, _fitxategiak

Source: http://support.microsoft.com/kb/905231/en-us

share|improve this answer
Is it related to SharePoint 2013? I know for SharePoint 2010. The link given is Applies to: Microsoft Windows SharePoint Services 3.0; Microsoft Windows SharePoint Services 2.0; Microsoft Office SharePoint Server 2007; Microsoft Office SharePoint Portal Server 2003; Microsoft SharePoint Foundation 2010; Microsoft SharePoint Server 2010; –  MAK Jul 8 '14 at 8:44
Yes, it is correct for SharePoint 2013 too. –  Nikitin Nikolay Jul 8 '14 at 11:20
Can you edit your answer with "Backslash (\)"? Because of formatting it seems like it says "Backslash ()", I cannot edit it because of the minimum required characters. –  rob.alarcon Jan 21 at 1:00
~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “

above special character is not allowed for files/folder.. you need to replace these characters for create folder or files..

share|improve this answer
is ! allowed ? –  Arsalan Adam Khatri Jul 8 '14 at 7:47
is it related to SharePoint 2013? I know for SharePoint 2010. –  MAK Jul 8 '14 at 8:41
Yes Arsalan, ! is allowed.. –  Hitesh Chandegara Jul 8 '14 at 10:05
also it for both SP 2013 and 2010 –  Hitesh Chandegara Jul 8 '14 at 10:05

If someone has to validate these characters with a regex (js or C#), the following regex will work:


That will be something like: "Match anything except for the following characters any number of times"

(I am not very good at regexs so, please correct me if I'm wrong)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.