JSON or HTML: which format for your data download?

Instagram, TikTok and YouTube ask for a format when you download your data. What JSON and HTML are for, what to pick where, and how to fix a wrong pick.

  • Published:
  • The ScrollTwin team

Choose JSON if you will upload the file to a tool or analyse it yourself; HTML is enough for browsing. Instagram, TikTok and YouTube ask for a format before they prepare your data; Spotify, X and Pinterest do not. ScrollTwin reads JSON only, not HTML or TXT exports. Picked the wrong one? Request a new export with the same steps.

What is the difference between JSON and HTML?

Both carry the same data; the difference is who is going to read the file. HTML is a web page laid out for a person to read, and JSON is structured text arranged for a program to read.

When you choose HTML, your likes, the accounts you follow and your watch history arrive as pages with headings, tables and links. You double-click a file, it opens in your browser and you click around as you would on a website. Google’s help page draws the same line: HTML files open in any browser, while JSON and CSV files open in a text editor (Google Account Help).

In JSON the same information is written plainly, field by field. Spotify describes it as a structured, commonly used format (Spotify Support). Below is a sample record we wrote to show the shape; the field names in your own file depend on the platform.

{
  "title": "sample_account",
  "timestamp": 1762819200
}
HTML JSON
Who it is for You, reading in a browser An app or a tool, processing it
How it opens Double-click, it opens in the browser In a text editor or with a tool
When to choose it Browsing your history, looking something up Uploading to a tool, analysing, moving it elsewhere
Can ScrollTwin read it No Yes

In short, HTML is the shop window and JSON is the same goods in a labelled box. A program counts what is in the box in seconds. Working out the arrangement of the window is slow and error-prone, because the page design can change whenever the platform likes.

Which format should you choose on each platform?

Three platforms ask for a format: Instagram, TikTok and YouTube. Choose JSON on all three. Spotify, X and Pinterest offer no choice; the file arrives in the shape the platform decides.

Platform Format options For ScrollTwin
Instagram HTML or JSON Choose JSON
TikTok TXT or JSON Choose JSON
YouTube (Google Takeout) HTML or JSON for history Choose JSON
Spotify No choice, arrives as JSON Upload as it is
X No choice Upload as it is
Pinterest No choice Not readable yet

Instagram. The format appears on the screen after you choose Export to device while creating the export. According to Instagram’s help page, this is where you pick the specific information to export, the date range, the format, the notification email and the media quality (Instagram Help Center). The default is usually HTML; you have to switch it to JSON yourself. The same page says you have 4 days to download the export once it is ready, and that it can take up to 30 days for the link to reach you. The step-by-step version is in our Instagram guide.

TikTok. TikTok asks for the file format in the same step where you choose which information goes into the file (TikTok Support). The options are TXT and JSON. TXT is a plain text dump: easy to skim, but not regular enough for a tool to read reliably. The same page says the file may take a few days to prepare and stays available for up to 4 days once it is ready. The details are in the TikTok guide.

YouTube. YouTube data comes from Google Takeout, and the format is not set in one place but on the product’s own row: press Multiple formats and, in the list that opens, switch the history row from HTML to JSON. Subscriptions already arrive as CSV, so leave that row alone. Google states that an archive expires in about 7 days and that each archive can be downloaded at most 5 times (Google Account Help). The screen-by-screen version is in the YouTube guide.

Spotify, X and Pinterest. Spotify sends your data as several JSON files; which package to request is covered in Spotify account data vs extended streaming history. The X archive is a single ZIP that holds HTML and JSON files together, and X says it may take a few days to prepare (X Help Center). On Pinterest all you do is start the request; the download link can take up to 48 hours to arrive by email (Pinterest Help). The steps for these three are in the Spotify, X and Pinterest guides.

What should you do if you chose the wrong format?

Do not try to convert the file; request a new export with the same steps and choose JSON this time. Sending the request takes a few minutes, and the rest is waiting.

First make sure the file really is in the wrong format. The most common mistake is to go ahead with the default without ever noticing the format row. You can tell in three places:

  • Double-click the ZIP and look at the file names inside. If the extensions are .html or .txt, the wrong format arrived; a JSON export has files that end in .json.
  • On YouTube the watch history file should be called watch-history.json. If it ends in .html, the format row was left on HTML.
  • When ScrollTwin does not recognise a file, it shows the message “We could not find data from a platform we know in this file”. When you see it, the format is the first thing to check.

Opening the ZIP to look at the file names is fine; the file you upload should still be the ZIP you downloaded. If the format is wrong, do this:

  1. Go back to the platform’s export screen: Export your information on Instagram, Download your data on TikTok, takeout.google.com for YouTube.
  2. Create a new request. You do not have to cancel the old one.
  3. Find the format row and set it to JSON. On Instagram, keeping media quality low and leaving messages unselected makes the file smaller.
  4. Send the request and wait for the notification.
  5. Drop the new ZIP, without unzipping it, on the upload page. Keep the old file as your own archive or delete it.

Why do we not recommend converting? Producing JSON from HTML means guessing at the page layout, and fields get lost easily. More importantly, if you upload your export to an online converter, you send everything in it, including your messages if you selected them, to a server you do not know. Asking the platform again is both safer and shorter.

The only reason to hurry is the time limit: according to the sources above, Instagram and TikTok keep the file for 4 days and Google for about 7. If the time runs out, your data is not lost; you only need to create a new request.

What does ScrollTwin read in the JSON file?

Only the few files that show your interests. The ZIP is opened in your browser; message, photo and video folders are never opened, and the file itself does not leave your device.

Platform Files that are read
Instagram Accounts you follow, posts you liked and saved, topics and ad interests (.json)
TikTok The following, like, favourite and watch lists in user_data.json
YouTube watch-history.json and subscriptions.csv
Spotify The streaming history files and YourLibrary.json
X following.js, like.js and personalization.js in the data folder

The list is short on purpose: nothing outside these files is opened. This is how it goes:

  1. Open the Upload your data page.
  2. Drag and drop the ZIP you downloaded, without unzipping it.
  3. Your browser finds the files above and pulls out interest topics, the public accounts you follow, the artists you play most and the hours you are active.
  4. You see the whole summary that would go to the server on your screen.
  5. If you approve, the summary is sent and your Scroll Profile is created.

The full list of what is sent and what stays on your device is on the privacy page.

Does choosing JSON affect your privacy?

No. The format changes the shape of the data, not how much of it there is. What ends up in the file is decided by a separate setting: which information you ask for.

On Instagram you can select the information to export item by item, and TikTok also asks which information should go into the file. If you leave out your messages, posts and stories, they are not in your JSON file either. So treat the two settings as separate things:

  • Format decides who can read the file. For a tool, JSON.
  • Information selection decides what is in the file. The less, the better.

For ScrollTwin, the accounts you follow, your likes, your saved posts and your interests are enough. Downloading less makes the file smaller and reduces the amount of personal data sitting on your computer.

Whatever its format, the ZIP you download is a personal file. Delete it from your downloads folder when you are done and do not share it with anyone. The steps for all six platforms are in the data download guides.

Frequently asked questions

How do I open a JSON file?

JSON is plain text, so Notepad, TextEdit or any code editor opens it. If you drag the file into a browser window, the browser shows its contents too. You do not need to open anything to use ScrollTwin: you drop the ZIP as it is, and your browser finds and reads the JSON files inside it.

Can I convert an HTML export to JSON?

It is technically possible, but we do not recommend it. Pulling data out of an HTML page means guessing at the page layout, and fields get lost easily. Uploading the export to an online converter also means sending a personal file to a server you do not know. The safest and shortest route is to request a new export with the same steps and choose JSON.

Why do Spotify, X and Pinterest not ask for a format?

These platforms prepare the file in one shape only. Spotify sends your data as JSON files. The X archive puts HTML files you can browse and data files a program can read in the same ZIP. Pinterest emails the file in the format it chooses. On all three there is no format for you to pick, and ScrollTwin cannot read Pinterest files yet.

Is a JSON export bigger than an HTML one?

The format is not what decides the size; what goes into the file is. As Instagram points out, the types of information and the media quality you select make the file larger or smaller, and high-quality videos take the most space. If you select only the information you need and keep media quality low, the export is much smaller in either format.

Can I request both HTML and JSON?

One request has one format. If you want both, create two requests: an HTML one to browse yourself and a JSON one to upload to a tool. You do not need this for an X archive, because both formats arrive in the same ZIP. Always upload the JSON one to ScrollTwin; you can keep the HTML one as your own archive.

All posts