Bitcoin Key Compression Tool

This tool converts between compressed and uncompressed bitcoin keys.

The main purpose is as a diagnostic tool.


Input Key

Can be a public key (hex encoded) or a private key (WIF or BIP38 encoded)

If the key is BIP38 encrypted this password will be used to decrypt it. This password is also used to encrypt the BIP38 fields in the output.


The input key is not a bitcoin key.


Output

Compressed

Uncompressed


Offline Usage

You can use this tool without having to be online.

In your browser, select file save-as, and save this page as a file.

Double-click that file to open it in a browser on any offline computer.

Alternatively, download the file from the repository - https://github.com/iancoleman/keycompression


This project is 100% open-source code

Get the source code from the repository - https://github.com/iancoleman/keycompression

Libraries

BitcoinJS - https://github.com/bitcoinjs/bitcoinjs-lib

BitcoinJS BIP38 - https://github.com/bitcoinjs/bip38

BitcoinJS WIF - https://github.com/bitcoinjs/wif

jQuery - https://jquery.com/

Twitter Bootstrap - http://getbootstrap.com/