explaingit

moond4rk/hackbrowserdata

14,052GoAudience · developerComplexity · 2/5Setup · easy

TLDR

A command-line tool that decrypts and exports saved passwords, cookies, browsing history, and other data stored by Chrome, Firefox, Edge, and Safari on your current computer.

Mindmap

mindmap
  root((hackbrowserdata))
    Data extracted
      Saved passwords
      Cookies
      Browsing history
      Credit cards
    Supported browsers
      Chrome and Chromium
      Firefox
      Safari macOS
      Edge and Brave
    Output formats
      CSV
      JSON
      Cookie-editor format
    Platforms
      Windows
      macOS
      Linux
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Export all saved passwords from Chrome or Edge to a JSON or CSV file for auditing or migration purposes.

USE CASE 2

Extract browser cookies from a locally installed browser and import them into a cookie-editor extension.

USE CASE 3

Pull browsing history and download records from multiple installed browsers into a single output folder at once.

Tech stack

Go

Getting it running

Difficulty · easy Time to first run · 5min

Windows antivirus may flag the binary, macOS Safari requires Full Disk Access enabled in system settings before running.

License terms were not described in the explanation.

In plain English

HackBrowserData is a command-line tool written in Go that extracts and decrypts data stored by web browsers on the current computer. The author states it is intended for security research only, and that users are responsible for any legal consequences from how they use it. The tool can pull multiple categories of stored data from browsers: saved passwords, cookies, bookmarks, browsing history, download history, saved credit cards, installed browser extensions, and local or session storage data. It supports Chromium-based browsers including Chrome, Edge, Brave, Opera, Vivaldi, and many others, as well as Firefox, and Safari on macOS. It runs on Windows, macOS, and Linux. Once run, HackBrowserData decrypts the locally stored data and writes it to files in your chosen format: CSV, JSON, or a cookie-editor-compatible format for importing into browser extensions. You can target a specific browser or all detected browsers, pick specific data categories, and choose an output directory. For macOS Safari, the tool needs Full Disk Access to be enabled in system settings. For recent versions of Chrome and Edge on Windows, newer cookie encryption requires building the tool from source with a special additional component. Installation is straightforward: download the prebuilt binary for your platform from the releases page and run it. Building from source requires Go 1.20 or later. On Windows, extracting cookies from Chromium 127 and later requires an extra build step using the Zig toolchain to compile a payload that handles the newer encryption format those browsers use. The project is open source and written in Go. The README notes that Windows antivirus software may flag the binary as a threat because of what it does, and suggests building from source if that is a concern.

Copy-paste prompts

Prompt 1
Show me the HackBrowserData command to export all saved passwords from Chrome on Windows to a CSV file, and describe what the output looks like.
Prompt 2
How do I use HackBrowserData to extract Firefox cookies and save them in a format compatible with a browser cookie-editor extension?
Prompt 3
Walk me through building HackBrowserData from source on macOS with Go 1.20 so I can extract Safari data after enabling Full Disk Access.
Prompt 4
I want to extract data only from Brave browser using HackBrowserData, which flag targets a specific browser instead of all detected ones?
Open on GitHub → Explain another repo

← moond4rk on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.