# Client-side Bitcoin generation: where your keys stay

Source: https://www.btcvanity.io/blog/local-generator-key-handling

Published: 2026-11-25

Updated: 2026-11-27

![A glass browser panel connected to server blocks with a key along the connection.](https://www.btcvanity.io/images/blog/local-generator-key-handling-editorial-v2.webp)

Check local generation in BTCVanity, keep your private key on your device and save a secure offline backup.

BTCVanity runs every supported search locally in your browser. Your device creates the address and private key, and neither is uploaded to or stored on our servers.

## All Bitcoin generation takes place locally

BTCVanity uses your browser to perform the full Bitcoin vanity search on your device. Address matching and private-key generation run client-side for short and long supported patterns alike. Our servers do none of that generation work.

The generated address and private key never go to our servers and are not stored there. They remain on your device. Losing your copy means we have nothing to recover for you.

Search duration reflects the pattern, case rules and available device performance. Asking for more characters increases the local work rather than moving it to a server.


| Search | Where it runs | Key handling |
| --- | --- | --- |
| Bitcoin: all supported patterns | Locally in your browser. | The generated address and private key stay on your device. |


## How to check whether generation stays local

Use a disposable test result that you will never fund. Never enter an existing wallet's private key or seed phrase into this test, and do not share screenshots or network exports containing secrets. Check the exact chain, pattern and mode you intend to use: one successful test does not cover every generation path.

Current implementation: this generator submits a job to a remote service and receives the private key in its response. That path is not entirely local. The checks below help you observe this behavior; they do not certify that the server keeps no copy of the key.

Inspect the Network tab

1. Open the [generator](https://www.btcvanity.io/), then your browser's developer tools. Select Network, enable recording and Preserve log, clear any filters, and reload the page. Keep All selected so requests outside Fetch/XHR remain visible.

2. Run a short valid test pattern. Inspect requests during generation, when the result appears, and afterwards. For each relevant request, check the destination and query parameters, Payload (what was sent), and Response (what came back). Inspect WebSocket messages too if a connection is present.

3. Look for remote generation jobs, status polling, and fields such as privateKey, secretKey, seed or mnemonic. A private key sent in a request or received in a response has crossed the device boundary. HTTPS encrypts that connection; it does not make the operation local or hide the key from the remote service.

4. Distinguish public addresses from private keys. An address is public information; its transmission does not by itself reveal the private key. Resource downloads, analytics or bot-protection requests also do not by themselves prove remote key generation. Inspect their contents, including telemetry sent after a result, rather than trusting an endpoint's name.

Test without a connection

1. While online, let the page load the generator's scripts and dependencies. For a stronger check, disconnect your device before starting a fresh search in the same loaded tab. You can also select Offline in DevTools, but a device-wide disconnection is a broader check than a tab's network simulation.

2. If the interface will not start offline, a missing script or bot-protection check may be responsible; this failure alone does not prove server-side generation. As a narrower test, start online, wait for computation to begin, then disconnect before a result arrives. A search already submitted to a server cannot be ruled out by this narrower test.

3. Keep the tab open without reloading. Look for a new, actual address and private-key result after disconnection, not an animation, cached result or progress counter. If the result arrived before you disconnected, repeat the test. If nothing completes, record that outcome without assuming why it failed.

4. With recording still enabled, reconnect and inspect any delayed requests, retries or telemetry. A key computed offline can still be uploaded afterwards. Discard the test key and never fund its address, regardless of the outcome.

These observations concern only the tested run. A completed offline search is evidence of local computation, not proof that no secret was sent earlier, queued for later, transmitted in an encoded form or retained by a server. Network inspection does not audit randomness, dependencies or the entire codebase, and cannot establish that a server keeps no copy. Treat any observed private-key transfer as incompatible with a claim that the key never leaves your device.

For the browser controls, see the [Chrome DevTools Network reference](https://developer.chrome.com/docs/devtools/network/reference).


## Take responsibility for the backup

A Bitcoin private key is the secret that controls its account. Save a secure offline copy before closing the generator or reloading, and keep it away from messages, shared captures and log files.

A key imported into a wallet is not automatically included in that wallet's existing recovery phrase. Keep a dedicated backup of the imported key. BTCVanity cannot recover it if that backup is lost.


## Do not send keys to anyone claiming to help

BTCVanity never asks you to disclose a private key or seed phrase for verification, activation, support or recovery. A request in our name, or an offer to recover your missing key, is a scam.

Import only on your own device through wallet software you trust. Never submit the key to a recovery link supplied by another person.


## Sources

- [Chrome DevTools: Network features reference](https://developer.chrome.com/docs/devtools/network/reference)

- [Bitcoin developer wallets guide](https://developer.bitcoin.org/devguide/wallets.html)

- [Electrum FAQ: importing and sweeping private keys](https://electrum.readthedocs.io/en/latest/faq.html)

- [Sparrow Wallet release notes (Sweep Private Key)](https://github.com/sparrowwallet/sparrow/releases)



Editorial method: https://www.btcvanity.io/about#publication-method
