How can I clear all history in Cursor at once

Right now I have to delete each chat history one by one. Is there a way to delete them all at once?

All the chats are stored here:

Do you know where this folder is located in Windows 11

%userprofile%\AppData\Roaming\Cursor\User\History

Try to back up the folder first then delete everything and see if it works.

I deleted the entire folder, but the history is still present in Cursor

Search for some of the chat titles inside the other folders.

1 Like

This folder here contains all the chats with you and cursor under the state.vscdb

\AppData\Roaming\Cursor\User\globalStorage

This folder: \AppData\Roaming\Cursor\User\workspaceStorage contains all your projects with all the different chats.

I wrote a program that reads all the chats, but because the AI chat is stored in 1 file, I found it a challenge to extract the text to match with my projects, so I abandoned it.

1 Like

Hey, all chat history is stored in this folder:

Windows: %APPDATA%\Cursor\User\workspaceStorage
macOS: ~/Library/Application Support/Cursor/User/workspaceStorage
Linux: ~/.config/Cursor/User/workspaceStorage
1 Like

That isnt entirely right since its also stored here \AppData\Roaming\Cursor\User\globalStorage