SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 5 down vote accepted
~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “

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

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 (")

There are also restrictions about the positition of a character in a file/foldername:

  • 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:



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 '15 at 1:00
It's fixed, thanks for prompt. – Nikitin Nikolay Feb 2 '15 at 11:32
Ya but in my case it is not allowing ; character also while downloading the file it removes ; semicolon character from the name of the file. – Niranjan Kulkarni Jun 24 '15 at 8:20

Not to resurrect an old thread but I thought I would add my regex. One issue from KB905231 it is not clear if the prohibited file suffixes (i.e. .files or _files, etc.) are including or excluding the file extension. I assumed including so foo.doc.files would not match but foo.files.doc would.

share|improve this answer

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.