How to use the Watch history converter tool
- Choose a .json or .csv export under Watch history file (optional). The file can be up to 20 MiB.
- Or paste the export text into the JSON or CSV when no file is selected box. A chosen file takes priority over pasted text.
- Select Convert, or select Example to convert a one-entry JSON sample.
- Check the rows in the Result box. The first row is always title,watched_at,url.
- Select Download to save watch-history.csv, or Copy to copy the CSV text.
How the watch history converter reads an export
The tool looks at the first character of the input. If it is a square bracket or a curly brace, the text is parsed as JSON. Anything else is parsed as CSV with a header row. JSON entries can be a top-level array, or an array stored under a history or items key of a top-level object. For CSV, the header names are trimmed and lowercased, and each following row becomes one entry.
Each entry is then mapped to three output columns by trying a short list of field names in order. Fields that match none of the names are ignored, and a missing value becomes an empty cell.
- title is taken from title, or else from name.
- watched_at is taken from time, then date, then watched_at.
- url is taken from titleUrl, or else from url.
Worked example with a Takeout-style JSON export
This input has the shape of the YouTube watch-history.json file from Google Takeout, where each entry carries title, titleUrl and time along with other fields. The header field is dropped. The first title contains a comma, so the converter wraps it in double quotes as RFC 4180 describes. The second entry has no link, so its last cell is empty.
[{"header":"YouTube","title":"Watched Intro to Base64, part 1","titleUrl":"https://www.youtube.com/watch?v=abc123","time":"2026-02-03T18:05:11.123Z"},{"header":"YouTube","title":"Watched a video that has been removed","time":"2026-02-01T09:12:44.000Z"}]
title,watched_at,url
"Watched Intro to Base64, part 1",2026-02-03T18:05:11.123Z,https://www.youtube.com/watch?v=abc123
Watched a video that has been removed,2026-02-01T09:12:44.000Z,Format details and limits
The converter renames and trims columns. It does not interpret the values inside them.
- Timestamps are copied as they are. The tool does not parse them, convert time zones, sort rows or remove repeats.
- CSV input is matched by lowercased header, so Title and Date columns work. A CSV column named titleUrl is not recognized; name it url.
- A nested object or array in a matched field is written as JSON text inside the cell.
- Output rows are separated by CRLF, and cells containing commas, quotes or line breaks are quoted with inner quotes doubled.
- An uploaded file larger than 20 MiB is refused with: Choose a file up to 20 MiB.
Error messages and their causes
The export must contain a list of watch-history entries appears when the JSON parses but holds no usable list: for example an object whose entries sit under a key other than history or items, or an array of plain strings. Move the array to the top level and try again.
Enter a watch-history export means the input was empty. Messages about a missing closing quote or unexpected characters after a quote point to a malformed CSV field. If the JSON itself is invalid, the browser's own parse error is shown.
Frequently asked questions
Which watch-history exports does the converter support?
Any JSON array of objects, or an object with a history or items array, whose entries use title or name, time, date or watched_at, and titleUrl or url. CSV files work when the header row uses those names in any letter case, except titleUrl.
Is my viewing history uploaded to a server?
No. A selected file is read by your browser on your own device and converted in the page. The CSV download is created locally, so the history is never transmitted.
Does the converter change the date format?
No. Whatever is in the time, date or watched_at field is written to the watched_at column unchanged. ISO 8601 timestamps stay in ISO form, and a value like 1/5/26 stays as typed. Reformat dates in your spreadsheet if needed.
Can I open the result in Excel or Google Sheets?
Yes. The output is comma-separated text with a header row and CRLF line endings. Download watch-history.csv and open or import it.
What happens to channel names and other extra fields?
They are discarded. Only the three mapped columns are written. If you need every field from a JSON export, the CSV ↔ JSON tool on this site turns all keys of an array of objects into columns.