Free tool · Contentful · Step 1 of 4: Scan
Audit a Contentful export file
Choose the .json file that contentful space export wrote. You get a report on the file: entries no other entry links to, assets nothing uses, and links that point at something the file does not hold. Asset use is counted in link fields, inside rich text and in image addresses typed into markdown.
Works from the file alone, in your browser. Nothing is uploaded or stored. No token, no app to install, no account. The report is a draft to review: it describes this file, not what is safe to change in your space.
What it does and does not do
It reads the export file, and only the export file
What it reads
One file: the JSON that Contentful's own command, contentful space export, writes on your machine. It reads the entries, assets, content types and locales in it. A file made with --content-only works too.
What it reports
Content types with no entries. Entries not linked from another entry in this file, counted per content type. Assets nothing in the file uses. Links whose target is not in the file, by entry, field and locale. Links to other spaces, listed apart as ones it cannot check.
What it does not see
Your space itself. It makes no call to Contentful and asks for no token, so anything the export left out is invisible: drafts and archived entries unless you asked for them, other environments, other spaces. It also cannot see your website's code, which may fetch an entry by id.
Free within a limit. One export file with up to 10,000 entries and assets together per run, as many runs as you like. Larger runs: request access.
Limits
How far you can trust it
- One file with up to 10,000 entries and assets together per run, and no larger than 100 MB. The whole file is read into your browser's memory.
- "not linked from another entry in this file" means exactly that. It does not mean the entry is unused. Pages, settings and other top-level entries are never linked from another entry, and your site may fetch any entry by id or by a query.
- Every finding is about this file. The report does not say that anything can be removed, and the tool changes nothing in Contentful.
- A default export leaves out drafts and archived entries (the options --include-drafts and --include-archived add them). A link from one of those is invisible here, so an entry or asset listed below may still be in use in your space.
- A link whose target is not in the file may point at something deleted, or at a draft or archived entry the export left out. The file alone cannot tell these apart.
- Asset use in text is found by address: only addresses on ctfassets.net hosts are read. An asset served from your own domain, or an address put together in code, is not seen.
- Links to other spaces (ResourceLink) are listed, not checked.
- The state of an entry (draft, changed, published, archived) is worked out from the version numbers in the file. A file that does not carry them shows the state as not in the file.
- Tested on files we wrote in the format Contentful documents, not on a library of real exports. Neither size limit was timed in a browser.
Sources
Where the rules come from
Each rule the tool applies was read on Contentful's own page or in Contentful's own code. Checked 14 Nov 2026.
| Rule | Source |
|---|---|
| The export file is JSON with the lists contentTypes, entries, assets, locales, webhooks and editorInterfaces. | Contentful CLI: space export |
| --include-drafts and --include-archived are off by default, so a default export has no drafts and no archived entries. --content-only exports entries and assets only. --skip-content leaves entries and assets out. | Contentful CLI: space export |
| The export library behind the command lists more keys in the file, such as tags and roles, and has options that export only the entries or assets matching a query. | contentful-export: README |
| A link is an object whose sys has type "Link", a linkType such as "Entry" or "Asset", and the id of the target. A field can hold one link or a list of links. | Contentful documentation: Links |
| A link to an entry in another space is a ResourceLink: its sys has type "ResourceLink", linkType "Contentful:Entry" and a urn that names the other space. | Contentful documentation: Cross-space references |
| Rich text block types include embedded-entry-block, embedded-asset-block and embedded-resource-block. | Contentful rich-text-types: blocks.ts |
| Rich text inline types include embedded-entry-inline, entry-hyperlink, asset-hyperlink, embedded-resource-inline and resource-hyperlink. | Contentful rich-text-types: inlines.ts |
| Each of those rich text nodes holds its link in data.target: a Link to an entry or asset, or a ResourceLink for the resource types. | Contentful rich-text-types: nodeTypes.ts |
| An image address has the form https://images.ctfassets.net/{space_id}/{asset_id}/{unique_id}/{name}, so the asset id is the second part of the path. | Contentful Images API: Retrieve an image |
| State from sys fields: draft when there is no publishedVersion; changed when version is at least publishedVersion + 2; published when version equals publishedVersion + 1; archived when archivedVersion is set. | Contentful documentation: Determine the state of entries and assets |
This is the reading the tool uses where we found no statement from Contentful.
- Any address on ctfassets.net or on a host name under it (such as assets.ctfassets.net or images.eu.ctfassets.net) is read the same way as an image address: the second part of the path is taken as the asset id. Contentful's page gives the form for images.ctfassets.net; we did not find a page that gives it for the other hosts.
- An address in text counts as a use only when its asset id is in the file. Other ctfassets.net addresses are counted and not listed, because they may belong to another space.
- A link-shaped object inside a JSON object field is not counted as a link. Addresses in the texts inside such a field are read. The tool knows a JSON object field from the content type. When the file has no content types (an export made with --content-only) it cannot tell: a JSON value that is itself a link-shaped object, or a list of them, is then counted as a link.
- An entry's link to itself does not count as a link from another entry.
Questions
Common questions
Is my export file uploaded?
No. The file is opened and read by code running in your browser tab. No part of it is sent to our server and nothing is stored. The report and the downloads are built in the same tab.
Do I need a Contentful token or an app?
Not for this page. You make the export yourself, on your own machine, with Contentful's command line tool: contentful space export. That command signs in to Contentful with your own management token; this page never sees it. Then you choose the file here.
An entry is listed as not linked. Is it unused?
Not necessarily. The list shows entries that no other entry in the file links to. A page is the usual example: nothing links to it, and your website fetches it by its address or id. Use the count per content type to find the types where you expected every entry to be linked, and check those by hand.
Why does it matter that rich text and markdown are read?
An image placed inside rich text is held as a node in the text, not in a link field. An image typed into a markdown field is only an address in the text. A check that reads link fields alone would call both unused. This tool counts all three kinds of use and says which kind it found.
A link is reported with a target that is not in the file, but the entry exists in my space. Why?
A default export leaves out drafts and archived entries. If the target is one of those, it is in your space and not in the file. Export again with --include-drafts and --include-archived and run the audit on that file.
What about links to other spaces?
Contentful holds a link to an entry in another space as a ResourceLink with a urn that names the other space. That space is not in your export, so the tool lists these links in their own table and says it cannot check them.
Surge Migrate is not affiliated with Contentful.
Step 1 of 4: Scan
Free tools that go with this one
This tool does one job in the Scan step. What you have: pages, templates, components, media, forms, documents, code and exports.
- Rich text converterTurns HTML into Shopify rich text metafield JSON, Wix Rich Content, Contentful Rich Text or Sanity Portable Text, with a count of what was left out or changed. A draft to review, not imported.
- WordPress export analyserShows the post types, custom fields, shortcodes, blocks, images the export does not list and duplicate slugs in a WordPress export, and takes Divi or WPBakery shortcodes out of a copy.
- Content inventoryLists the public pages of a site in a CSV file, with each page's template group and components, plus a file that shows where every component is used.
All free tools, by step and by who they are for →
Moving the whole site? Converted automatically. Checked before you install.
Enter your page addresses. Surge Migrate reads the public pages, converts them into the import format of the system you are moving to, and reports what it could not place. You check the result first, then run the import yourself.