# Creating .CAR file from directory tree

**URL:** <https://discuss.ipfs.tech/t/creating-car-file-from-directory-tree/15115>\
**Category:** Help\
**Tags:** js-ipfs\
**Created:** [September 4, 2022, 3:39pm UTC](https://discuss.ipfs.tech/t/creating-car-file-from-directory-tree/15115 "2022-09-04T15:39:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsn10](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hsn10/32/3711_2.png) [@hsn10](https://discuss.ipfs.tech/u/hsn10)\
**Post date:** [September 4, 2022, 3:39pm UTC](https://discuss.ipfs.tech/t/creating-car-file-from-directory-tree/15115/1 "2022-09-04T15:39:25Z")

</div>

Can you create CAR file from directory tree without importing it to IPFS node using nodejs and js-ipfs?

---

<div class="post-metadata">

**Author:** ![danieln](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/danieln/32/6408_2.png) [@danieln](https://discuss.ipfs.tech/u/danieln)\
**Post date:** [September 5, 2022, 8:04am UTC](https://discuss.ipfs.tech/t/creating-car-file-from-directory-tree/15115/2 "2022-09-05T08:04:56Z")

</div>

Yeah, there’s a CLI tool you can use [GitHub - web3-storage/ipfs-car: Convert files to content-addressable archives and back](https://github.com/web3-storage/ipfs-car)
