Robots.txt

A file located at the website’s root and guides search engines on the pages that should not be crawled.

Note that some search engines may ignore the Robots.txt guidelines and might display the blocked pages on search results, therefore it is usually recommended to simply not upload to a public server files that should not be crawled by search engines and displayed on search results.