Cookie Converter
Paste cookies in any common format and get them back in the one your browser extension or tool expects. The converter detects JSON exports, Netscape cookies.txt files and name=value strings, and shows the Facebook UID and which session cookies are present.
The three formats
Cookie tools disagree on format, so a cookie file that works in one tool is rejected by another. These are the three you meet most often:
- JSON: an array of objects with name, value, domain, path and expirationDate, as exported by browser cookie extensions
- Netscape cookies.txt: one cookie per line, seven tab-separated fields, used by curl, wget and many automation tools
- Header string: name=value pairs joined by "; ", the form often found at the end of a uid|pass|…|cookie account line
Facebook cookies
For Facebook, c_user holds the account's UID and xs holds the session; both are needed to stay logged in. datr, fr and sb identify the browser. The converter reads c_user and marks which of these cookies your input contains. When you convert a header string, the cookies are given the .facebook.com domain.
Cookies are a login — they stay on your device
Anyone with a valid xs cookie can use the session. This page converts everything in your browser: nothing you paste is sent to Atlas Accounts or anywhere else. Never paste session cookies into a site that uploads them.
Frequently asked questions
Are my cookies uploaded?
No. The conversion runs entirely in your browser. Nothing you paste is sent to or stored by Atlas Accounts.
How do I find the UID in a cookie string?
It is the value of c_user. Paste the cookies and the converter shows it under Facebook check.
My extension says the cookie format is invalid. What do I do?
Most extensions import the JSON format. Paste your cookies, choose JSON as the output and import the result.
Does converting keep the expiry dates?
Yes, between JSON and Netscape. A header string carries no expiry, so cookies converted from it become session cookies.
More free tools
- Ad Account Readiness Checklist — Ten checks before you launch: roles, billing, Page access, pixel and limits.
- Facebook Ads UTM Builder — Tagged URLs and Ads Manager URL parameters with Meta dynamic parameters.
- Daily Budget Calculator — Daily and weekly ceilings, mid-week starts and spending limit runway.
- Check Live Facebook UID — Split a list of Facebook UIDs into Live and Die in your browser.
- Account List Tools — Extract a column, dedupe, compare and sort uid|pass lists.
- Facebook Ads Calculator — CPM, CPC, CTR, CPA, ROAS and break-even ROAS from your numbers.
- Strong Password Generator — Random passwords, one or 100 at once, made in your browser.
- Ad Image Sizes & Resizer — One image in every Facebook and Instagram ad size, made in your browser.
- 2FA Authenticator — TOTP codes generated in your browser.
- Temporary Email — A disposable inbox in one second.
Need an account to run your ads? Browse the Facebook marketplace.