# Managing and sharing notebooks

Rename, duplicate, export, and restore QuestDB Web Console notebooks, and understand where they are stored and their limits.

Notebooks live in your browser, and this page covers their lifecycle: naming,
duplicating, moving them between machines, restoring closed ones, and the
limits that apply.

## Renaming and duplicating

Rename a notebook from the pencil icon on its tab or beside its name in
the toolbar; names hold up to 100 characters. **Duplicate notebook** on the
toolbar creates "&lt;name&gt; (copy)" right after the original, including its
current results.

## Exporting and importing

**Export notebook** on the toolbar downloads the notebook as a JSON file named
`questdb-notebook-<timestamp>.json`. It contains the cells, layout, settings,
and variables, but not query results, so an imported notebook starts clean.

[Screenshot: The Export notebook button on the notebook toolbar](https://questdb.com/docs/images/docs/console/notebook-export-button.webp)

To import, use the tab bar's **⋮** menu → **Import tabs**, which accepts both
notebook exports and full tab exports and shows a summary of what was
imported. **Export tabs** in the same menu exports every tab, notebooks
included.

[Screenshot: The tab bar menu with Import tabs and Export tabs](https://questdb.com/docs/images/docs/console/notebook-import-tabs.webp)

:::info
Shared notebooks with permissions are coming soon to QuestDB.
:::

## Closing and restoring

Closing a notebook tab archives it; it is never deleted outright. The
history button (clock icon) at the right of the tab bar lists archived tabs;
click an entry to restore it. **Clear history** at the bottom of that list
deletes archived tabs permanently. The last remaining tab cannot be closed.

[Screenshot: The tab history dropdown listing archived notebooks](https://questdb.com/docs/images/docs/console/notebook-history.webp)

## Storage and limits

Notebooks are stored in the browser, per browser and per machine. Nothing is
kept on the QuestDB server, so a notebook does not follow you to another
computer unless you export it. Query results are snapshotted locally too, so
cells reload their last results when you return. Snapshots are kept for the
ten most recently used notebooks, up to 2 MB per cell.

| Limit | Value |
| --- | --- |
| Cells per notebook | 200 |
| Tabs (all kinds) | 100 |
| Notebook and cell name length | 100 characters |
| Rows fetched per statement | 10,000 |

## Finding content in notebooks

The console's global search indexes cell SQL, markdown text, and cell names
across all notebooks. Selecting a search result opens the notebook and
highlights the matching cell.

## Next steps

- [Live dashboards](/docs/getting-started/web-console/notebooks/live-dashboards) covers turning a notebook into a shareable dashboard
- [Notebooks overview](/docs/getting-started/web-console/notebooks/overview) covers creating notebooks and the toolbar
- [MCP connection](/docs/getting-started/web-console/mcp-connection) lets coding agents build and edit notebooks
