max number of entries or characters in robots.txt

what is the max number of characters or entries that can be placed in a robots.txt file.

i have heard it's 2000 characters but not sure if this is the case.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I wouldn't put way many more than 2000 personally.

Not sure if there is an actual limit to the size of the file... there is nothing on the net that i could find about this topic.


have you looked on this site at all

Yes, 2000 characters is generally the cut-off and going over that Google will probably issue you an error.  

If you submit a sitemap to Google, you can take advantage of their 'Robots.txt' tab that you'll see once you log-in to your sitemap account.

With Google's Robots.txt test analysis you can test your robots.txt file(s) against the Googlebot user-agent, other Google user agents, or the Robots Standard.  Even make changes and see how Google will react to your robots.txt file.  It's very imformative.  

To setup your own Google sitemap and to be able to access their Robots.txt analysis tab, go here:

To learn more about the robots.txt file, visit this excellent site: <>

Good Luck!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
naifyboy123Author Commented:
thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Internet Marketing

From novice to tech pro — start learning today.