# mc tag

LLMS index: [llms.txt](/llms.txt)

---

<a id="mc-tag"></a>

<a id="command-mc.tag"></a>

## Description {#description}

The [`mc tag`](#command-mc.tag) command adds, removes, and lists tags associated to a bucket or object.

MinIO supports adding up to 10 custom tags to an object.

## Subcommands {#subcommands}

[`mc tag`](#command-mc.tag) includes the following subcommands:

<table>
  <thead>
    <tr>
      <th><p>Subcommand</p></th>
      <th><p>Description</p></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><p><a href="/reference/minio-mc/mc-tag-list/#command-mc.tag.list"><code>list</code></a></p></td>
      <td><p>The <a href="/reference/minio-mc/mc-tag-list/#command-mc.tag.list"><code>mc tag list</code></a> command lists all tags from a bucket or object.</p></td>
    </tr>
    <tr>
      <td><p><a href="/reference/minio-mc/mc-tag-remove/#command-mc.tag.remove"><code>remove</code></a></p></td>
      <td><p>The <a href="/reference/minio-mc/mc-tag-remove/#command-mc.tag.remove"><code>mc tag remove</code></a> command removes all tags from a bucket or object.</p></td>
    </tr>
    <tr>
      <td><p><a href="/reference/minio-mc/mc-tag-set/#command-mc.tag.set"><code>set</code></a></p></td>
      <td><p>The <a href="/reference/minio-mc/mc-tag-set/#command-mc.tag.set"><code>mc tag set</code></a> command sets one or more tags to a bucket or object.</p></td>
    </tr>
  </tbody>
</table>
