How big is a ChatGPT export, and why one huge conversations.json will not open

9 min read

A long aisle between tall sliding storage cabinets in a records archive

Your export may have no single conversations.json at all. In two exports that people published in October 2026, the chats were split into numbered files (conversations-000.json, conversations-001.json and so on). The one report that gives file sizes lists parts of up to 27 MB, far below any limit of a browser tab. This post is for the other case: one very large conversations.json, as older exports have it. A browser tab cannot hold a text longer than 536,870,888 characters, and a tool that reads past that point can fail, or show a partial list without saying so. Below are the numbers, what we measured, and a short script that splits a big file.

What two real exports looked like

OpenAI’s help page describes the viewer in an export, not the layout of its data files. What we know about sizes comes from people who published measurements of their own exports. These are two reports, one account each, so treat them as examples and not as averages.

ReportZip sizeChat filesChatsWhat else was in it
Diego Callegari, tested October 29, 20262.5 GB, 2,651 files14 numbered parts, up to 27 MB each, about 120 MB of chat text in all1,3532,594 attachment files stored as .dat, a 90 MB chat.html, a manifest
Matthew Firth, October 28, 2026916 MB15 numbered parts1,463about 834 image files

What stands out in them:

  • The size was in the pictures. In the first report the chats came to about 120 MB, roughly 5 percent of the 2.5 GB ZIP. The author adds that someone who never uploads images gets a much smaller export. The second report gives no breakdown.
  • The chats were split. 1,353 chats over 14 files is about 97 chats per file. A developer wrote on OpenAI’s forum on March 24, 2026 that the format had changed “sometime in mid-February” from one conversations.json to several files. That post announces the developer’s own converter, so read it as a developer’s note and not as OpenAI’s word. An export you downloaded before then probably holds one file.
  • An average chat was bigger than you might guess. 120 MB over 1,353 chats is about 89 KB a chat.
  • The ZIP itself can be the problem. The author of the first report says Chrome refused to read the 2.5 GB ZIP in their own tools until they changed them to read it piece by piece. The chat text was never the issue.

The limit of a browser tab

A browser tab can hold only so much text in one piece. In Chrome’s JavaScript engine, V8, the longest possible string on a 64-bit computer is (1 << 29) - 24, according to V8’s own source code. Worked out:

  • 2 to the power of 29 is 536,870,912.
  • Minus 24 is 536,870,888.

V8 counts in 16-bit units, one for each ordinary letter. A text file smaller than 536,870,888 bytes always fits, because decoding a file never makes the text longer than its byte count. A bigger file may or may not fit: accented and non-Latin letters take several bytes in a file but count once in memory. The reader on this site refuses a single chat file above 536 MB, to keep the rule simple. A tool that reads the whole file as one string cannot go past the limit. A tool that reads the file in pieces can.

To see how this could meet a real export: if your chats averaged the 89 KB of the first report, one file would reach the limit at about 6,000 chats (536,870,888 divided by 89,000). With the shorter chats of our test files below, it would take about 23,000. That is arithmetic on one account, not a rule, and we have not seen a real single-file export.

Other browsers have their own limits. We did not measure them.

What we measured

We tested the reader engine behind this site with made-up chats of 20 messages each, about 23 KB a chat. The files were written to disk and opened the way a browser opens a file you choose, in Chrome 158 on a Windows 11 computer with plenty of memory.

One conversations.jsonChatsTime in ChromePage memory in ChromeResult
300 MB13,1025.1 s1.0 GBOpens
450 MB19,6337.9 s1.5 GBOpens
520 MB22,6818.6 s1.8 GBOpens, the largest that did
650 MB28,3410.5 snot readRefused with a “too large” message

Memory. The page needed a little over three times the size of the file: 1.0 GB for 300 MB, 1.5 GB for 450 MB, 1.8 GB for 520 MB. That is about 3.3 to 3.5 times. A file under the limit can still be too much for a computer with little memory, and a phone has much less than the machine we used. We did not test a phone.

Silence. Before we added a check, Chrome cut the 650 MB file short without any error. A tool that does not check the size can show a partial list and look as if it worked. The reader now refuses a single chat file above 536 MB before it starts, and says so.

A ZIP file is a different matter. The reader reads the list of files inside the ZIP first, then opens only what it needs, so the size of the ZIP is not the limit. We opened a made-up 4.4 GB ZIP, mostly pictures, in 0.03 seconds in Chrome. The limit that matters is the largest single chat file, which is why numbered files are good news.

If one file is over the limit

You can split it into smaller files and choose all of them at once in the export reader. Save the script below as split_conversations.py in the same folder as your conversations.json, then run:

python3 split_conversations.py conversations.json 100

On Windows, use py in place of python3. You need Python 3 installed. The number is the largest size of each part, in megabytes. The script writes conversations-part-001.json, conversations-part-002.json and so on, and leaves the original alone. It reads the file in 1 MB pieces, so it needs little memory.

"""Split a big conversations.json into smaller files.

Usage:   python3 split_conversations.py conversations.json 100

The number is the largest size of each part file in megabytes (100 if you
leave it out). The script writes conversations-part-001.json,
conversations-part-002.json and so on, next to the original. The original is
not changed, and nothing is sent anywhere.

It expects one JSON list of chats, like [ {...}, {...} ]. It reads the file in
pieces of 1 MB, so it needs little memory. A single chat has to fit in memory.
"""
import json
import string
import sys
from pathlib import Path

PIECE = 1 << 20
SKIP = string.whitespace + "," + chr(0xFEFF)  # spaces, line breaks, commas and a byte order mark


def read_chats(path):
    decoder = json.JSONDecoder()
    with open(path, "r", encoding="utf-8") as f:
        buf = f.read(PIECE).lstrip(SKIP)
        if not buf.startswith("["):
            sys.exit("This file is not one JSON list of chats, so this script cannot split it.")
        buf, pos = buf, 1
        while True:
            while pos < len(buf) and buf[pos] in SKIP:
                pos += 1
            if pos < len(buf) and buf[pos] == "]":
                return
            try:
                chat, pos = decoder.raw_decode(buf, pos)
            except json.JSONDecodeError:
                more = f.read(PIECE)
                if not more:
                    sys.exit("The file ends in the middle of a chat. Download it again.")
                buf, pos = buf[pos:] + more, 0
                continue
            yield chat


def main():
    if len(sys.argv) < 2:
        sys.exit(__doc__)
    source = Path(sys.argv[1])
    limit = float(sys.argv[2]) * 1_000_000 if len(sys.argv) > 2 else 100_000_000
    out = None
    part = chats = size = 0
    sep = b""
    for chat in read_chats(source):
        try:
            data = json.dumps(chat, ensure_ascii=False).encode("utf-8")
        except UnicodeEncodeError:  # a lone surrogate in the data cannot be written as UTF-8, so write it escaped
            data = json.dumps(chat).encode("ascii")
        if out is None or size + len(data) + 1 > limit:
            if out:
                out.write(b"]")
                out.close()
            part += 1
            out = open(source.with_name(f"conversations-part-{part:03d}.json"), "wb")
            out.write(b"[")
            size, sep = 1, b""
        out.write(sep + data)
        size += len(sep) + len(data)
        sep = b","
        chats += 1
    if out:
        out.write(b"]")
        out.close()
    print(f"{chats} chats written to {part} files.")


if __name__ == "__main__":
    main()

What we tested: a made-up conversations.json of 650 MB with 28,341 chats, twice. The script split it into 7 files of up to 100 MB in 5.4 and 7.8 seconds, with a peak of about 22 MB of memory. The reader engine, run in Node and not in a browser tab, then found all 28,341 chats in the 7 files together, in 10.1 and 12.9 seconds. A small file with accents, an emoji, Chinese text and a lone surrogate escape (a character code that is not valid on its own, and that Python cannot write as UTF-8) also split and read back identical to the original. An earlier version of the script crashed on that last case. This one writes such a chat in escaped form.

What it assumes: that your file is one JSON list of chats, as in the made-up files and as the published reports describe the numbered files. If the script says the file is not one JSON list, yours has another shape, and we would like to know. Use the Contact page and tell us the month you requested the export. The script does not change any chat, does not read pictures and does not send anything anywhere.

When another way is better

  • Your export has OpenAI’s viewer. OpenAI says a recent export includes index.html, which searches your conversations in your browser and uploads nothing, so no splitting is needed. The October 2026 export in the first report lists chat.html and no index.html, so look at what your ZIP holds. Our post on how to search your ChatGPT history explains the viewer.
  • The ZIP will not open at all. That is a download problem, not a size problem. See what to do when a ChatGPT export is not working.
  • You are comfortable with command-line tools. A streaming JSON tool does this job too, for example jq with its --stream option. We did not try it.

Sources