# How to save an array to disk in compressed form?

**URL:** <https://discourse.julialang.org/t/how-to-save-an-array-to-disk-in-compressed-form/40325>\
**Category:** General Usage\
**Tags:** question, data-compression\
**Created:** [May 28, 2020, 8:30am UTC](https://discourse.julialang.org/t/how-to-save-an-array-to-disk-in-compressed-form/40325 "2020-05-28T08:30:51Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![HenrikM](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrikm/32/17975_2.png) [@HenrikM](https://discourse.julialang.org/u/HenrikM)\
**Post date:** [May 28, 2020, 10:19am UTC](https://discourse.julialang.org/t/how-to-save-an-array-to-disk-in-compressed-form/40325/3 "2020-05-28T10:19:39Z")

</div>

I just asked almost the same question. 🙂 Is [Append to zipped CSV file](https://discourse.julialang.org/t/append-to-zipped-csv-file/40321) of any help? The compression is not much compared to a binary format, though. A rough binary format is [https://docs.julialang.org/en/v1/stdlib/Serialization/](https://docs.julialang.org/en/v1/stdlib/Serialization/). Also search for threads on this site, like [Binary output](https://discourse.julialang.org/t/binary-output/23276), [How store this variable into files, and reaload it?](https://discourse.julialang.org/t/how-store-this-variable-into-files-and-reaload-it/35636), or just search for HDF5 on this site.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-save-an-array-to-disk-in-compressed-form/40325)._
