What a WebExport export looks like when you export a Next.js site
We exported webexport.online and read every file. Pages came out as folder/index.html, assets sat in css, js, fonts and images, canonical tags and JSON-LD survived, and robots.txt and sitemap.xml were absent. Paths were root-relative, so the copy needs a domain root, and two client scripts still call server endpoints.
By WebExport team · Last reviewed
Key facts
- The ZIP held 88 files: 5 HTML pages, 25 JavaScript files, 15 fonts and 37 PNG images.
- Asset references in the HTML were root-relative, such as /fonts/..., not ./assets/.
- Canonical tags and JSON-LD blocks were kept in the saved pages.
- Client code still calls /api/ endpoints, which do not exist on a static host.
What the folder looks like
This is an export of one site built on Next.js, not a no-code site, so treat it as one data point about how the exporter behaves. We used its universal mode, which crawls any site. The tree below is what came out, trimmed to the top level.
index.html
pricing/index.html
privacy/index.html
tools/index.html
tools/webflow-cms-csv/index.html
css/ 1 stylesheet
js/ 25 files
fonts/ 15 woff2 files
images/ PNG files
assets/Every page is a folder with an index.html inside. That layout serves cleanly on any host, because /pricing resolves to pricing/index.html without a rewrite.
What we checked and what we saw
| Check | What we saw | What it means for you |
|---|---|---|
| Asset paths | Root-relative, for example /fonts/806de4d605d3ad01-s.p.woff2 | The copy works from a domain root. From a subfolder, paths break until they are rewritten |
| Canonical tags | Kept, with absolute URLs on webexport.online | Check them if the copy will live on another domain |
| JSON-LD | Kept in the saved pages | Structured data moves with the page |
| robots.txt and sitemap.xml | Not in the ZIP | Create both for the new site |
| Forms | One form, a script-driven field with no action | Script-driven forms need the scripts and a working endpoint |
| Server calls from scripts | /api/tools/track and /api/broadcast in the JavaScript | Static hosts have no such endpoints, so those calls fail quietly or loudly |
| Image optimizer URLs | /_next/image appeared in the saved HTML | The saved page still points at a server feature |
Check your own export in five minutes
- Unzip the download and count pages and files.
- Search for root-relative asset paths and decide whether your host serves from a root.
- Search the scripts for /api/ calls, and for the original site’s image optimizer or CDN paths.
- Check that canonical tags name the domain you will use.
- Add robots.txt and sitemap.xml. The XML Sitemap Generator builds one from a URL list.
find exported-site -name "*.html" | wc -l
grep -rhoE '(href|src)="/[a-z_]+/' exported-site --include="*.html" | sort | uniq -c | sort -rn | head
grep -rhoE '"/api/[a-z/-]+"' exported-site/js | sort -u
grep -rl "/_next/image" exported-site --include="*.html"
ls exported-site/robots.txt exported-site/sitemap.xmlWhat can go wrong
- Serving the copy from a subfolder, such as example.com/old, and finding every asset returns 404.
- Leaving canonical tags that name the old domain, which tells search engines to prefer the original.
- Assuming the copy has no server dependency. Scripts that call /api/ endpoints fail, and some features may break without an error you can see.
- Reading one data point as a rule. A Webflow or Framer export looks different, and the product docs describe local ./assets/ paths for those.
Frequently asked questions
Is this what a Webflow export looks like?
Not exactly. This was a Next.js site, exported in universal mode. The product docs describe Webflow output with paths rewritten to local relative folders, and we have not yet published a side-by-side from a real Webflow site.
Why were the asset paths root-relative?
That is what the saved pages contained after the crawl. It works at a domain root, and a subfolder deployment needs the paths rewritten. The Asset Path Normalizer rewrites CDN URLs to local paths.
Do I need robots.txt and sitemap.xml?
Google says a sitemap is a hint and robots.txt is not a way to keep pages out of search. A new host should still publish both, so crawlers find your pages.
What happened to the API calls?
They stay in the JavaScript. On a static host, requests to those paths return errors, so remove the calls or provide a service for them.
Official documentation
Free tools for this job
- No-Code Asset Path NormalizerRewrite CDN URLs to local relative paths for offline and self-hosted deployments.
- XML Sitemap GeneratorGenerate a standards-compliant XML sitemap from your URL list in one click.
- robots.txt TesterTest if a path is allowed for a specific bot using live or pasted robots.txt rules.
- Broken Link CheckerScan sitemap or URL lists and report broken links with HTTP status insights.
Try it on your own site
Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.