What a robots.txt file controls
Before a well-behaved crawler fetches a page, it reads /robots.txt at the root of the host. The file says which paths each crawler may request. It controls crawling, not indexing: a blocked URL can still appear in Google if other sites link to it. To keep a page out of search results, let it be crawled and add a noindex tag instead.
Each subdomain needs its own file. https://blog.example.com/robots.txt is separate from https://example.com/robots.txt, and a file in a subfolder is ignored.
How to create a custom robots.txt file
Most sites need only a few lines: one group for all crawlers that blocks private or duplicate areas, and a Sitemap line. Add a named group only when one crawler needs different rules.
A common starting point for a blog or business site, including a custom robots.txt for Blogger or WordPress:
- User-agent: * with Disallow lines for admin, login, cart, checkout and internal search result pages.
- No rules that block CSS, JavaScript or image folders: Google needs them to render the page.
- A Sitemap line with the full URL of your sitemap or sitemap index.
- For Blogger, paste the result into Settings, Crawlers and indexing, Custom robots.txt. For WordPress, upload the file to the site root or paste it into your SEO plugin's robots.txt editor.
Robots.txt rules for AI crawlers
AI companies publish the user-agent names their crawlers use, so you can allow or block each one. GPTBot (OpenAI), ClaudeBot (Anthropic), PerplexityBot (Perplexity) and CCBot (Common Crawl) each read their own group, and Google-Extended controls whether Google may use your content for Gemini.
Blocking a crawler is a trade-off. It keeps your pages out of that company's crawls, but it can also keep them out of the answers its assistant builds from crawled pages. Decide per bot, and check later which bots actually visit.
2026년에 맞춤형 Robots.txt 생성기가 필요한 이유
무료 robots.txt 생성기를 통해 웹사이트에 적합한 robots.txt 파일을 제작할 수 있습니다.
Robots.txt 파일은 검색엔진이 웹사이트를 크롤링하는 방식을 제어하는 데 필수적이며,
SEO 성과에 큰 영향을 미칩니다.
robots.txt 생성기 사용 방법
robots.txt 파일을 생성하려면 허용하거나 차단할 봇을 선택하기만 하세요.
저희 robots.txt 빌더가 코드를 자동으로 생성하므로 복사해서 붙여넣기만 하면 됩니다.
AI 스크래퍼(GPTBot, ClaudeBot) 차단을 위한 robots.txt 파일 생성 방법
AI 에이전트의 부상과 함께 GPTBot, ClaudeBot, OpenAI-SearchBot 같은 AI 스크래퍼로부터 지식 재산을 보호하는 것이 그 어느 때보다 중요해졌습니다. 저희 도구를 사용하면 이러한 최신 AI 크롤러에 맞춤화된 지시문을 쉽게 생성할 수 있습니다.
주요 기능
- 간편한 설정: Simple interface to set up directives
- 프리셋 템플릿: Quick templates for common use cases
- 사용자 정의 지시문: Add custom allow, disallow, and other directives
- 즉시 생성: Get your robots.txt file ready for upload
- 회원가입 불필요: Use the tool immediately without signing up
일반적인 활용 사례
- 모든 크롤러의 사이트 접근 허용
- 관리자 페이지 및 비공개 콘텐츠 접근 차단
- API 엔드포인트 크롤링 제어
- 서버 보호를 위한 크롤링 지연 시간 설정
- XML 사이트맵 지정
생성된 robots.txt 파일 사용 방법
- 생성된 robots.txt 파일 다운로드하기
- 웹사이트의 루트 디렉토리에 업로드하기 (예: yourdomain.com/robots.txt)
- 사이트의 크롤링 통계 모니터링하기
모범 사례
- robots.txt 파일은 간단하고 명확하게 유지하세요
- 배포하기 전에 robots.txt 파일을 테스트하세요
- 민감한 정보를 숨기는 용도로 robots.txt를 사용하지 마세요
- robots.txt에 사이트맵 URL을 포함하세요
- 대형 사이트의 경우 적절한 크롤링 지연 시간을 설정하세요