---
title: 'Liquid objects: robots'
description: The default rule groups for the `robots.txt` file.
source_url:
  html: 'https://shopify.dev/docs/api/liquid/objects/robots'
  md: 'https://shopify.dev/docs/api/liquid/objects/robots.md'
api_name: liquid
---

# robots

The default rule groups for the `robots.txt` file.

***

**Tip:** You can \<a href="/themes/seo/robots-txt">customize the \<code>robots.txt\</code> file\</a> with the \<a href="/themes/architecture/templates/robots-txt-liquid">\<code>robots.txt.liquid\</code> template\</a>.

***

## Properties

* * **default\_​groups**

    array of [group](https://shopify.dev/docs/api/liquid/objects/group)

  * The rule groups.

##### Example

```json
{
  "default_groups": []
}
```

## Templates using robots

[Theme architecture](https://shopify.dev/themes/architecture/templates/robots-txt-liquid)

[robots.txt.liquid template](https://shopify.dev/themes/architecture/templates/robots-txt-liquid)
