Practical Guides · 1 min read

Check a Chat JSON Export Locally Before Importing It

Validate a copied JSON file on your own device and distinguish a syntax error from an unexpected structure.

On this page
  1. Try a harmless example first
  2. Check the shape as a separate step

Validate a locally saved copy before importing or publicly uploading a chat export. Parsing checks syntax. Once it succeeds, check whether the data contains the conversation and fields you actually need.

Try a harmless example first

A small valid example is {"messages":[{"role":"user","text":"Check the map"}]}. Adding a trailing comma after the final array item would break JSON syntax. A local tool such as Python’s python -m json.tool copy.json can parse a file when Python is already installed. Run it locally, since it may print the file’s contents.

Keep the original, Parse the copy locally, Inspect the structure.

Check the shape as a separate step

A valid file can still use a different field name or contain empty records. Look for a few expected messages and identify their speaker and fields. Preserve the source unchanged and keep the validation output private. If a file is too sensitive to print, use a local tool or redirect results into a private file.

Sources and scope

This comparison separates documented capabilities from editorial interpretation. Source access and any limitations are described in the article; a suggested evaluation is not a claim of completed testing.

← More NSFW Chat articlesHow this was researched