Morpho Browser Morpho Browser

cookiessessionsimportexportmulti-account

Cookies Explained: Import, Export and Move Logged-In Sessions

How to import and export browser cookies to move logged-in sessions between profiles - formats, merge vs replace, limits, and keeping cookie files safe.

By Morpho team Published 7 min read

Most of what "being logged in" means on the web is a cookie. Move the right cookies to another browser and, a lot of the time, the session moves with them. That makes cookie files very useful, and also something to handle carefully.

This post explains what cookies are, how to import and export them in Morpho, when to merge and when to replace, and how to move sessions without causing more trouble than you solve.

What cookies actually hold

A cookie is a small record a site stores in your browser: a name, a value, the domain it belongs to, a path, an expiry date and a few flags. Some remember your language. Some remember the contents of a basket. The important ones hold a session token that tells the site "this browser already signed in."

Three things follow from that:

  • If you copy a valid session cookie into another browser, that browser can be signed in without the password.
  • If two profiles hold the same account's session cookie, the site sees one account on two devices.
  • A cookie file in the wrong hands is effectively a login.

In Morpho, every profile's cookies belong to that profile alone. They never pass to another one. When you close a profile with Close, its cookies and sessions are saved for next time. With Keep session cookies on (the default), even logins where you did not tick "remember me" survive a restart.

When you would import or export

Normal reasons we see:

  • Moving your own work from another browser into Morpho.
  • Restoring a profile you rebuilt from scratch.
  • Passing a working session to a colleague who manages the same account. For ongoing sharing, team sharing is better (see below).
  • Keeping a dated backup of one site's cookies before a risky change.

Importing cookies, step by step

  1. Close the profile. Cookies can only be changed while it is closed.
  2. Open Cookies in the profile's row menu and press Import.
  3. Choose a file, or paste the text into the or paste box. The format is detected automatically.
  4. Pick the mode:
    • Merge overwrites cookies with the same name and domain and keeps all the others.
    • Replace deletes all of the profile's cookies first.
  5. Check the preview. It shows how many cookies are valid, new, or have errors. Then press Import.

Expired cookies are skipped.

Merge or replace?

Use Merge when you are adding one site's session to a profile that already has a life of its own. Use Replace when the profile should become exactly what the file describes, for example when you are rebuilding a profile from a backup.

If you are unsure, merge. You can always clear one site later.

Supported formats and limits

FormatLooks likeNotes
JSON cookie list[{"name": ..., "domain": ..., ...}]What most browsers, cookie extensions and automation tools export
Netscape cookies.txtTab-separated lines, 7 fieldsThe classic format used by many command-line tools
Morpho exportJSON from Morpho itselfRound-trips cleanly

Limits worth knowing:

  • At most 20 MB and 20,000 cookies per import.
  • Browsers cap a cookie's lifetime at 400 days. Longer expiry dates are shortened to that.
  • A header string like name=value; other=value cannot be imported. It has no domains, so there is no way to know which site the cookies belong to. Export proper JSON or Netscape instead.

Exporting cookies

  1. Open Cookies in the row menu.
  2. Press Export and choose JSON or Netscape cookies.txt. The file downloads.

To export only one site, use the export icon on that site's row in the list.

For several profiles at once, select them in the list, press Cookies in the bar at the bottom and choose Download as zip. Each profile gets its own file inside the zip, named after the profile. The same window can load such files back into profiles by name, which is the quickest way to restore a batch.

The Cookies window is also a full manager. It groups cookies by site and shows counts, sizes and expiry dates. You can search by name, value or site, click a cookie to edit it, add one by hand with Add cookie, or delete a single cookie, a whole site, or everything.

If the profile is open, the window shows a Close the profile button. Open tabs and sessions are saved as it closes, then you can edit.

Clearing one site without touching the rest

Sometimes a single site gets into a bad state: a broken login loop, a stale setting. Instead of wiping the profile, use Clear site data in the row menu while the profile is closed. Tick the sites to clear, or type a domain and press Add, then Clear selected. Subdomains are included; other sites stay as they were.

One honest note: on Chromium profiles the browser cache cannot be split per site, so the cache stays. Cookies and site storage are removed.

Moving logged-in sessions without trouble

Importing a session is the easy part. Making it stick is about context. A site that sees its session suddenly appear on a new device, in a new country, may ask you to sign in again or verify. That is the site doing its job, and you should complete the verification normally.

You can avoid most of these prompts with three habits:

  1. Match the country. Load cookies into a profile whose proxy exits in the same country the session was used from.
  2. One account, one profile. Never load the same account's cookies into several profiles. Sites can link those profiles to each other, and you gain nothing.
  3. Expect a check now and then. A first visit from a new browser might still trigger one. No tool can guarantee otherwise.

Moving from another browser

If you are coming from another antidetect tool or a regular browser:

  1. Export your proxies and paste them into Proxies › Add proxy.
  2. Recreate the profiles in Morpho. You can make up to 100 with the same settings in one go.
  3. Export each old profile's cookies as JSON and import them into the matching Morpho profile. Name the files after the profiles to import them in bulk.

The cookies chapter has the details for each step.

Moving between your own computers

You do not need cookie files for this. Cloud sync backs up each profile's cookies, saved passwords, settings and proxy, end-to-end encrypted, and a new computer pulls them down when you sign in. See the cloud chapter.

Sharing with a teammate

For a colleague who works on the same account every day, share the profile with your team instead of passing cookie files around. Profiles are shared locked, open for one person at a time, and you can remove access later. More in how to share browser profiles with a team.

A brand-new profile with zero cookies is a little unusual. Real browsers carry the residue of ordinary browsing. The cookie warm-up lets profiles browse sites you choose, like a person, and collect ordinary cookies.

  1. Choose Warm up cookies in the row menu, or select several profiles and press Warm up.
  2. Pick a country list and categories with Use this list, or type addresses yourself. Save your own list with Save as my list.
  3. Choose invisible or windowed browsing, how many profiles run at once, time per page and how many inner pages to visit.
  4. Press Start warm-up. Progress and cookies gained show live; Stop whenever you like.

Each profile uses its own fingerprint and proxy. It never logs in, never submits forms and never clicks ads. It accepts a cookie notice only when it clearly recognises an "Accept" button.

What it is not: a way to make a fresh account look old, or a trick to pass a platform's checks. It simply gives a new profile a normal browsing history to start from. Close open profiles first; they are skipped.

A cookie file is a password you cannot change by typing a new one. Treat it that way:

  • Do not send it over chat or e-mail. Do not leave it in a downloads folder.
  • Delete exported files once you have imported them.
  • If a file may have leaked, sign out of those sessions from the site's own security page so the tokens stop working.

Morpho keeps cookies out of its error reports, and cloud backups are end-to-end encrypted, so the server cannot read them. The security page explains how.

Try it on a spare profile

The best way to learn import and export is on a profile that does not matter: export, clear, import, and see what comes back. The free plan includes 10 profiles; download Morpho and give it ten minutes. The features page lists the rest of the cookie and session tools.

Frequently asked questions

Which cookie formats can I import?

Morpho reads JSON cookie lists (the format most browsers, extensions and automation tools export), Netscape cookies.txt files and its own export. A plain Cookie header like name=value; name2=value2 cannot be imported because it has no domains.

Will importing cookies keep me logged in?

Often, yes, as long as the session is still valid and the site does not tie it to something else such as a device check. Some sites ask you to verify again when a session suddenly appears on a new device or from a new country.

Is it safe to share a cookie file?

Treat it like a password. Anyone who has the file can open the sessions inside it without knowing the password. Do not share it, and delete it when you are done.

What does a cookie warm-up do?

It opens the profile and browses ordinary sites from a list you choose, the way a person would, so the profile collects normal cookies. It never logs in, never submits forms and never clicks ads.

More from the blog