Skip to content

What is personalization.js in your X archive?

personalization.js shows what X has inferred about you for ads and recommendations: your interests, languages, gender and age, recent location activity, and which advertisers have put you in their audiences.

How to open it

It is a text file in the archive’s data folder. Open it in any text editor; delete the first line’s window.YTD... = prefix and the rest is plain JSON any JSON tool can read. Our free viewer does not read this file yet; it covers likes, bookmarks and your own posts.

Fields in personalization.js

FieldWhat it means
interestsInterests X inferred from your activity.
partnerInterestsInterests supplied by X's partners.
languagesLanguages X thinks you use.
genderInfoGender X inferred.
inferredAgeInfoInferred date of birth and current age.
locationHistoryLocation activity from the last 60 days.
showsTV shows X thinks you watch.
numAudiencesHow many tailored advertiser audiences you are in.
advertisersAdvertisers whose tailored audiences include you.
lookalikeAdvertisersAdvertisers whose lookalike audiences include you.
doNotReachAdvertisersAdvertisers who excluded you from their ads.

What it is useful for

What to watch out for

Related files

Field names come from the README.txt X includes in every archive. X changes the archive from time to time, so check the README in your own download if something differs. See every file in the archive.