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:

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

Need an account to run your ads? Browse the Facebook marketplace.

Back to Atlas Accounts