# Get IPNS address without uploading a file

**URL:** <https://discuss.ipfs.tech/t/get-ipns-address-without-uploading-a-file/11682>\
**Category:** js-ipfs\
**Created:** [July 3, 2021, 5:53pm UTC](https://discuss.ipfs.tech/t/get-ipns-address-without-uploading-a-file/11682 "2021-07-03T17:53:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![encKrish](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/enckrish/32/5231_2.png) [@encKrish](https://discuss.ipfs.tech/u/encKrish)\
**Post date:** [July 3, 2021, 5:53pm UTC](https://discuss.ipfs.tech/t/get-ipns-address-without-uploading-a-file/11682/1 "2021-07-03T17:53:09Z")

</div>

How can I get the IPNS address before uploading any file?  
The reason I want this is that I want to check whether any “proper” information is already stored at that IPNS address, and if there is, then I retrieve it, else I replace it with another information.

I am using js-ipfs.
