# Take your data with you: exports, workspace files and imports

> Surfacedd exports reports as PDF or JSON, tables as CSV or JSON and every answer of a brand as NDJSON, all written to a file you pick. To move everything, Settings › Data & backups › Export workspace saves one file, optionally passphrase-encrypted. Importing it on another computer replaces that workspace after a safety backup. API keys are never exported.

Source: https://surfacedd.com/docs/data/import-export · Updated 2026-11-19

This page covers getting data out of Surfacedd and into another copy of it: the export formats, the workspace file that moves everything, and importing that file.

## Your data is already yours

Surfacedd keeps everything it collects in one SQLite database on your computer. We never hold a copy, so exporting is about convenient formats, not about getting your data back from a vendor. Every export is written by the app to a location you pick in your system's save dialog; the app can't write a file anywhere you didn't choose. 

Exports keep working when the licence is inactive. They are on the list of things the updates rule never holds back. 

## The formats at a glance

| Format | Where | What it contains | Use it for |
|---|---|---|---|
| PDF | Report › Export › Report (PDF) | The report's overview, competitors and cited sources, plus a methodology appendix per engine: model, collection mode, whether location was applied, answer count and dates | Sending to a team or client |
| CSV | Export menu on Responses, Prompts, Competitors, Sources and Products | The table on screen, with the filters on screen. UTF-8 with a byte-order mark so Excel keeps accents; ISO dates | Spreadsheets |
| JSON | Same Export menus › a table › JSON; Report › Export › Report (JSON) | The same table as typed records (numbers as numbers, `null` for missing), or a whole report, wrapped with the filters used | Scripts, notebooks, other tools' APIs |
| NDJSON | Export menu › All answers (NDJSON) | Every answer for the brand, one JSON object per line | Scripts, notebooks, data warehouses |
| Workspace (`.sqlite` or `.surfacedd`) | Settings › Data & backups | The whole database: brands, reports, prompts, answers, settings | Moving to another computer, archiving |

The CSV tables available are responses, prompts, competitors, prompts competitors win, cited pages, cited domains, outreach opportunities, fan-out searches, products and product mentions. Cells that a spreadsheet could run as a formula are prefixed with an apostrophe, because prompt text and AI answers come from outside your control. Column-by-column details are in [Exports](/docs/features/exports). 

## What's in the NDJSON file

Each line is one answer. The fields are:

- `answer_id`, `run_id`, `report_id`, `prompt_id`, `prompt` and `answer` (the full text);
- `engine`, `model`, `market_id`, `collection_mode`, `location_applied`, `refusal`, `latency_ms`, `cost_usd` and `created_at`;
- `mentions`: each brand named, with its relation (you, a competitor, a publisher…), position, list rank, whether it was recommended, sentiment, how it was matched and whether it was a namesake;
- `citations`: each source with its order, URL, title, host and whether it was cited or only read;
- `fanouts`: the searches the engine ran;
- `product_mentions`: products named, their owner, rank and whether they were recommended.

The file is written while the database is read, so a brand with years of history doesn't need to fit in memory.

## Copy one answer as evidence

In the answer drawer, **Copy as evidence** copies the answer as Markdown with its timestamp, engine, model and sources. Use it when you need to show exactly what an engine said and when, for example in a correction request. 

![Answer drawer with the full answer, the brands it named and its sources](https://surfacedd.com/shots/app/drawer-answer-light.png "Sample workspace, fictional brand")
## Export a whole workspace

1. Open **Settings › Data & backups**.
2. Under **Move to another computer**, click **Export…** next to **Export workspace**.
3. Choose whether to **Protect with a passphrase**. A passphrase must be at least 8 characters, and you type it twice.
4. Pick where to save. The file is named `Surfacedd <date>.sqlite`, or `Surfacedd <date>.surfacedd` with a passphrase.

![Data and backups settings with the database location, three backups labelled Daily, each with a Restore button, and the Export and Import buttons](https://surfacedd.com/shots/app/settings-data-light.png "Sample workspace, fictional brand")
Without a passphrase, the file is a compacted copy of your database made with SQLite's `VACUUM INTO`, which any SQLite tool can open. With a passphrase, the same copy is encrypted in the open [age](https://age-encryption.org/v1) format: the passphrase is stretched with scrypt and the contents are sealed with ChaCha20-Poly1305. The unencrypted copy exists only briefly inside the app's own data folder and is deleted once the encrypted file is written. 

Surfacedd can't recover a forgotten passphrase. Keep it in your password manager.

**What the workspace file leaves out:** your API keys and your licence. They stay in this computer's keychain. 

## Import a workspace

1. On the other computer, open **Settings › Data & backups** and click **Import…** next to **Import workspace**.
2. Pick a `.sqlite` or `.surfacedd` file. If it's protected, enter its passphrase.
3. Confirm. **Importing replaces everything in this workspace**; it does not merge.

Before replacing anything, the app checks the file in a scratch folder: it must be a Surfacedd workspace, and it's upgraded to the current database version there first. Then it saves a safety copy of your current workspace in the backups folder (the newest three are kept), and swaps the data in one transaction. If any step fails, your current data is untouched. 

After the import, add your API keys in **Settings › API keys**; key settings on the new computer are kept as they were. Search and summary figures are rebuilt automatically. 

## Import server logs

For AI crawler analytics, drop server log files into **Website › AI crawlers**. Nginx and Apache combined logs, Cloudflare Logpush JSON, JSON lines and CSV are accepted, including gzipped files up to 2 GB. Logs are streamed and only daily totals per bot are stored; IP addresses are not kept. See [AI crawler analytics](/features/ai-crawler-analytics). 

## Troubleshooting

| Message | Cause | Fix |
|---|---|---|
| This export is protected with a passphrase. Enter it to import. | The file is a `.surfacedd` export | Enter the passphrase it was saved with |
| The passphrase is rejected | Wrong passphrase for this file | Check your password manager; there is no recovery |
| This file isn't a Surfacedd workspace export. | Another SQLite file, or a damaged one | Export again from the source computer |
| This file can't be imported | Usually a file from a newer version of Surfacedd | Update this copy of the app first |
| Use a passphrase of at least 8 characters. | Passphrase too short | Choose a longer one |

## Related docs

- [Exports](/docs/features/exports): every CSV column and the PDF layout.
- [Backups and restore](/docs/data/backups-and-restore): daily copies and restoring one.
- [Licence and devices](/docs/licence/licence-and-devices): moving your licence to a new computer.
