CustomBTC Logo
CustomBTC
Menu

Buy us a coffee

Our free tools run entirely on donations. Your support helps maintain the website and develop the tools. Generation runs locally on your device. If we helped you today, a small donation helps keep this service free for everyone.

ETH · Ethereum network
0xcf5777b71c31146bd396cece6d3128e42d0ad9f7

Thank you for keeping us running! ❤️

Comparison

CustomBTCAddress vs VanitySearch: Address Types, Pattern Limits and Which to Use

CustomBTCAddress vs VanitySearch: address types, pattern limits, case matching, key output, offline and split-key use, plus where vanitygen-plusplus fits.

By Updated 6 min readRead as Markdown

A browser window and a terminal window side by side with a Bitcoin coin between them, comparing a web generator with a command-line tool
A web form or a command-line tool: compare address types, pattern limits and offline use before you search.
Short answer: Both find a Bitcoin address that contains characters you choose. Pick VanitySearch if you have an NVIDIA GPU, want an address starting with 3 or bc1q, need a longer pattern (7+ characters as a prefix, 5+ as a suffix) or a fully offline search, and are happy on the command line. Pick CustomBTCAddress for a short prefix or suffix on a legacy address starting with 1, with nothing to install, an example preview and a WIF key to import or sweep. For Taproot (bc1p) patterns, vanitygen-plusplus is the command-line option.

CustomBTCAddress and VanitySearch at a glance

The two tools do the same core job: they try random keys until the Bitcoin address matches your pattern, then hand you the address and its private key. Where they part ways is setup, address types, pattern length and how much control you keep over the machine that runs the search.

CustomBTCAddressVanitySearch
PriceFreeFree, open source under GPLv3
Runs asWeb page, nothing to installCommand-line program: release download, build from source or Docker image
Hardware you provideNoneYour CPU, plus one or more NVIDIA GPUs through CUDA if you have them
Address typesLegacy P2PKH starting with 1P2PKH (1), P2SH (3) and Bech32 (bc1q)
Pattern positionPrefix after the 1, or suffixPrefix, with ? and * wildcards, or a list of prefixes from a file
Longest pattern6 as a prefix, 4 as a suffixNo fixed limit stated in the README
Ignore letter caseYes by default, with a match-case switchYes, with the -c option
Key outputAddress and WIF private keyWIF labelled with its script type, plus hex; optional output file with -o
Difficulty planningExample preview with average attempts and a difficulty calculatorPrints the difficulty, live speed and time to a 50% chance
Offline or split-key searchNoYes: runs offline, and -sp / -rp support split-key searches

Pattern rules and length limits

Both tools work with Base58, the alphabet of legacy Bitcoin addresses. It has 58 symbols and leaves out 0, O, I and lowercase l, so a pattern containing any of those can never match. The address format page lists the rules in one place.

On CustomBTCAddress the leading 1 is fixed and you type only what follows it: up to 6 characters at the start or up to 4 at the end of the address. VanitySearch takes the full prefix including its first character, so you type 1TryMe or 3MyCoin, and it accepts ? and * wildcards and a file of several prefixes to search at once.

Ignoring case is the default on CustomBTCAddress and the -c option in VanitySearch. It lets a letter such as a match either a or A, which roughly halves the work for that character. Digits and the letters i, L and o have only one form in Base58, so case does not change their cost.

How long does each search take?

Difficulty depends on the pattern, not on the tool. Each extra character multiplies the average work by about 34 when case is ignored, or by 58 when it must match exactly. The figures below apply to both tools.

One detail matters more for prefixes than for suffixes: the character right after the leading 1 is unevenly distributed, because a legacy address is a bounded number written in Base58. Lowercase letters and capitals after Q are rare in that position. VanitySearch accounts for this in the difficulty it prints: in its README, the five-character prefix 1TryMe shows a difficulty of 15,318,045,009, more than twenty times 58 to the power of 5.

  • Start with 3 to 5 characters, and prefer a prefix that begins with a digit or a capital from A to P.
  • The difficulty calculator shows the average time and the 50%, 90% and 99% odds for any speed you enter.
  • Real speed depends on hardware. The VanitySearch README shows a GeForce GTX 1050 Ti reaching about 250 million keys per second; newer GPUs are faster.
Pattern lengthAverage attempts, ignoring case (about 34^n)Average attempts, exact case (58^n)
41,336,33611,316,496
5 (prefix only on CustomBTCAddress)45,435,424656,356,768
6 (prefix only on CustomBTCAddress)1,544,804,41638,068,692,544
7 (beyond CustomBTCAddress: use a GPU tool)52,523,350,1442,207,984,167,552
8 (beyond CustomBTCAddress: use a GPU tool)1,785,793,904,896128,063,081,718,016

Key output and wallet import

CustomBTCAddress shows the address and its private key in WIF, the format most Bitcoin wallets accept for importing or sweeping a single key. The WIF import guide covers both routes and what to check.

VanitySearch prints the private key twice: in WIF, preceded by a label for the script type such as p2pkh:, and in hex. It can append every match to a file with -o, and it can search compressed, uncompressed or both kinds of public key.

Whichever tool you use, write the key down before you close the window, import it, compare the full address character by character and send a small test amount first.

Offline use, split keys and the command line

CustomBTCAddress is a web form: you need a connection to start a search and receive the result, and there is no offline build. If you want the whole search to happen on a machine you control, use a command-line tool.

VanitySearch runs entirely on your own computer. Its README notes that the Docker image needs no network access and recommends running it with --network none. It also supports split-key searches: you keep a private key, share only its public key with whoever runs the search, and combine their partial key with yours afterwards, so the searcher never learns the final key.

vanitygen-plusplus is the other well-known command-line choice. It covers legacy 1 addresses, native SegWit (bc1q) and Taproot (bc1p) through its -F option, supports over 100 cryptocurrencies in total, and offers oclvanitygen++ for OpenCL GPUs. It also supports split-key generation, and its README states the GNU Affero General Public License. Both command-line tools need building or installing before your first search.

Which one should you use?

If you are unsure, try a 3 or 4 character pattern first and check the estimate before committing to a longer one.

You needBetter fitWhy
A short prefix or suffix on a 1 address, with nothing to installCustomBTCAddressWeb form, example preview, difficulty calculator and a WIF to import
A suffix (the last characters)CustomBTCAddressSuffix mode is built in
An address starting with 3 or bc1qVanitySearchSupports P2SH and Bech32 as well as P2PKH
A Taproot address starting with bc1pvanitygen-plusplusTaproot is available through -F p2tr
A longer pattern (7+ prefix, 5+ suffix)VanitySearchNo fixed length limit, and fast on NVIDIA GPUs
An offline or air-gapped searchVanitySearch or vanitygen-plusplusBoth run locally without a connection
Someone else searches, only you hold the keyVanitySearch or vanitygen-plusplusBoth support split-key searches

Frequently asked questions

Is VanitySearch free?

Yes. VanitySearch is open source and licensed under GPLv3. You provide the hardware: it runs on a CPU and is much faster with an NVIDIA GPU through CUDA.

Can either tool make a bc1 address?

CustomBTCAddress makes legacy addresses starting with 1 only. VanitySearch can also search addresses starting with 3 and bc1q, and vanitygen-plusplus adds Taproot addresses starting with bc1p. See P2PKH, SegWit and Taproot addresses before choosing a type.

Why does my prefix take longer than the table suggests?

The character right after the leading 1 is not evenly spread. Lowercase letters and capitals after Q rarely appear there, so a prefix starting with one of them takes far longer in any tool. A suffix, or a prefix starting with a digit or a capital from A to P, follows the table closely.

Sources and editorial method

The technical references below support the concepts discussed in this article. Examples and comparison worksheets are explanatory, not measured service benchmarks.

Read how these articles are prepared.