---
title: "Wallet_import_format — definition | Nuri Glossary"
description: "The standard text encoding of a single private key, prefixed with a version byte and protected by a checksum."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/wallet-import-format"
---

# Wallet_import_format

The standard text encoding of a single private key, prefixed with a version byte and protected by a checksum.

## Basically

In plain words, wallet Import Format (WIF, also known as Wallet Export Format) is a way of encoding a private ECDSA key so as to make it easier to copy.

## Key Takeaways

- Wallet Import Format (WIF, also known as Wallet Export Format) is a way of encoding a private ECDSA key so as to make it easier to copy.
- A testing suite is available for encoding and decoding of WIF at: http://gobittest.appspot.com/PrivateKey Private key to WIF YouTube Wallet Import Format (WIF) private key 1 - Take a private key 0C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D 2 - Add a 0x80 byte in front of it for mainnet addresses or 0xef for Testnet addresses.
- Also add a 0x01 byte at the end if the private key will correspond to a compressed public key 800C28FC

## Background

Wallet Import Format (WIF, also known as Wallet Export Format) is a way of encoding a private ECDSA key so as to make it easier to copy. A testing suite is available for encoding and decoding of WIF at: http://gobittest.appspot.com/PrivateKey Private key to WIF YouTube Wallet Import Format (WIF) private key 1 - Take a private key 0C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D 2 - Add a 0x80 byte in front of it for mainnet addresses or 0xef for Testnet addresses. Also add a 0x01 byte at the end if the private key will correspond to a compressed public key 800C28FC
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
