# Export/Backup all tags + info

**URL:** https://community.mp3tag.de/t/export-backup-all-tags-info/51175
**Category:** Export
**Created:** [December 13, 2020, 4:25pm UTC](https://community.mp3tag.de/t/export-backup-all-tags-info/51175 "2020-12-13T16:25:43Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [December 19, 2020, 10:24am UTC](https://community.mp3tag.de/t/export-backup-all-tags-info/51175/4 "2020-12-19T10:24:03Z")

</div>

# Extract list of all used tags + info fields to a Json file.

Unfortunately the CSV approach is very slow (even without any info field included in the extract). I believe the reason is the recurring script requests to extract a single tag.  
Json approach seems much faster. Command $list(,,) brings all current tags and their values with one shot. Then we only format them in json format ("tag": "value"). I used Dano's approach to properly split tag from value.

[-- Full tags+info (Json).mte](https://drive.google.com/file/d/1stJddhzcDJRUq8sNNmPJvXdxNJ7v2wEv/view?usp=sharing) (18KB)

Script includes the list of all info fields (at least the ones in the help page).  
Each of them can be included in the export (instructions are included in the file).  
Export seems very fast.

Json file generated from mp3tag can be converted to CSV/XLSx/XLS file by below tool (based on some code posted in [https://datatofish.com/json-string-to-csv-python/](https://datatofish.com/json-string-to-csv-python/) which is also based on tkinter / pandas packages).  
Multiple json files are loaded first to the memory then all are combined into a single output file.

[json2csv.zip (Google Drive)](https://drive.google.com/file/d/1CWEt6qGifZaWZxS15cJfl5cV9VBl8Pgd/view?usp=sharing) (21,7MB) use password `mp3tag` to unzip.  
If anyone has doubt about file content here is the source code ([json2csv.py](https://drive.google.com/file/d/16PTj7SuwdVfd9vAqKJwMMfPjIQtjYVC3/view?usp=sharing) 9KB). Install python and compile yourself `pyinstaller --onefile json2csv.py`.

---

_[View the full topic](https://community.mp3tag.de/t/export-backup-all-tags-info/51175)._
