Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Copy Cookies to Localhost

Copy Cookies to Localhost by Faraz

Copy all cookies from the current site to localhost.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Copy Cookies to Localhost helps developers test locally with a real authenticated session from staging or production.

HOW IT WORKS
1. Log in to your site in Firefox (normal or private window)
2. Click the extension icon
3. Click "Copy to localhost"
4. Open your local app at http://localhost:<port> — session cookies are available there

KEY FEATURES
• One-click copy — minimal popup with a single button
• Private browsing support — cookies are written to the correct cookie store in private windows (enable "Run in Private Windows" in extension settings)
• Override on repeat — copying again replaces localhost cookies with the latest values
• HttpOnly cookies supported — uses the browser cookies API, not just document.cookie
• Cross-browser — also works in Chrome and Edge

WHAT DATA IS ACCESSED
This extension reads cookies from the active tab only when you click the button. Cookies are copied to http://localhost in your local browser cookie store. Nothing is sent to external servers. No analytics. No background collection.

PERMISSIONS
• cookies — read cookies from the current site and write them to localhost when you click copy
• tabs — identify the active tab and its URL
• all URLs — work on any site you are developing against

WHO IT'S FOR
Developers who run local apps (e.g. localhost:3000) and need the same session cookies as a remote environment without manual DevTools copy/paste.

LIMITATIONS
• Partitioned cookies may be skipped
• Safari Private Browsing is not supported (Safari platform limitation)
• You must enable "Run in Private Windows" for private browsing use

Privacy: All processing happens locally in your browser. No user data is transmitted outside the device.
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access browser tabs

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
24.94 KB
Last updated
14 days ago (Jun 4, 2026)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.