Skip to content
get-cookie
Main Navigation GuideCLILibraryReferenceGitHub

Appearance

Local profile toolkit

get-cookieLocal browser cookies, when you need them

Read cookies from supported browser profiles with a CLI or a typed library.

Get started
CLI reference
Library usage
ChromeFirefoxSafariNode.jsBun
local-sessionread only
$get-cookie sessionid example.com
profileChrome / Work
result1 cookie found
Stays on this machineNothing leaves unless you send it.
LOCALONLY

CLI and library

Query a cookie in a shell, or use the same local data from TypeScript.

Start here

Browser-aware

Supports Chromium-family browsers, Firefox, and Safari with platform-specific storage handling.

See support

Runtime-aware

Use the auto-detecting root import or explicit Node.js and Bun entrypoints.

Read API

Local by design

Extraction happens on the machine that owns the browser profile; treat every returned value as a credential.

Security model

A deliberately small surface

Bring the browser profile.
Keep the credential local.

get-cookie does one sensitive job and keeps the path legible from source to consumer.

01Browser profileYour local encrypted store
→
02›_Typed queryCLI or TypeScript library
→
03Controlled useYou decide where it goes

Local browser-cookie extraction for controlled environments

ISC licensed · Licence and attribution