# Can read canister WASM code?

**URL:** <https://forum.dfinity.org/t/can-read-canister-wasm-code/32633>\
**Category:** Developers\
**Created:** [July 2, 2024, 5:34pm UTC](https://forum.dfinity.org/t/can-read-canister-wasm-code/32633 "2024-07-02T17:34:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwertytrewq](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/qwertytrewq/32/10423_2.png) [@qwertytrewq](https://forum.dfinity.org/u/qwertytrewq)\
**Post date:** [July 2, 2024, 5:34pm UTC](https://forum.dfinity.org/t/can-read-canister-wasm-code/32633/1 "2024-07-02T17:34:36Z")

</div>

Is it possible for a canister to read its own WASM code?

I want this, because it is reasonable in our project (an onchain package manager) a canister to create its copy (for this need to read WASM).

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [July 3, 2024, 8:19am UTC](https://forum.dfinity.org/t/can-read-canister-wasm-code/32633/2 "2024-07-03T08:19:57Z")

</div>

No, for now this is not possible. Once we have state snapshots it could be doable.
