---
title: "unsetAllMarks command"
description: "Use the unsetAllMarks command in Tiptap to remove all marks from the current selection. Learn more in our docs!"
---

> This page is for Tiptap 2.x. [See the latest version of this page.](https://tiptap.dev/docs/editor/api/commands/nodes-and-marks/unset-all-marks.md)

# unsetAllMarks command

Use the unsetAllMarks command in Tiptap to remove all marks from the current selection. Learn more in our docs!

`unsetAllMarks` will remove all marks from the current selection.

## Using the unsetAllMarks command

```js
editor.commands.unsetAllMarks()
```
