<p>You can use Bitcoin-ABE</p>

<p><a href="https://github.com/bitcoin-abe/bitcoin-abe" rel="nofollow noreferrer">https://github.com/bitcoin-abe/bitcoin-abe</a></p>

<p>There are various options, I used the sqlite export to get a local SQL database with blocks, tx, outputs etc.</p>

CC BY-SA 3.0
2018-01-19T14:26:10.390Z
2018-01-19T14:26:10.390Z
Davide C
<p>I have the complete bitcoins block data (blk00000.dat, blk00001.dat.....). I want to convert it into some readable format like csv or json. Can it be done using python or any other software ?</p>

CC BY-SA 3.0
2017-02-15T13:06:14.670Z
http://bitcoin.stackexchange.com/search?q=parse+blockchain
amaclin
<blockchain><block><python><raw-data>
How to start working with blk*.dat data?
Ayush Bhuyan
# How to start working with blk*.dat data?

(Asked by: username_0 on 2017-02-15)

I have the complete bitcoins block data (blk00000.dat, blk00001.dat.....). I want to convert it into some readable format like csv or json. Can it be done using python or any other software ?

**Tags:** blockchain, block, python, raw-data

> **Comments:**
> **username_1**: http://bitcoin.stackexchange.com/search?q=parse+blockchain  

---

## 1 answers

### Answer by username_2 on 2018-01-19. Score: 1

You can use Bitcoin-ABE

<https://github.com/bitcoin-abe/bitcoin-abe>

There are various options, I used the sqlite export to get a local SQL database with blocks, tx, outputs etc.


---

