# Convert app arg to Addr

**URL:** https://forum.algorand.co/t/convert-app-arg-to-addr/6347
**Category:** General
**Tags:** teal, smart-contracts
**Created:** [March 27, 2022, 4:56pm UTC](https://forum.algorand.co/t/convert-app-arg-to-addr/6347 "2022-03-27T16:56:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [March 27, 2022, 7:17pm UTC](https://forum.algorand.co/t/convert-app-arg-to-addr/6347/2 "2022-03-27T19:17:27Z")

</div>

Internally, an address is just a 32-byte array.  
So just ensure that the first argument is the 32 bytes of the address (without checksum and with base32 conversion).

See [Overview - Algorand Developer Portal](https://developer.algorand.org/docs/get-details/accounts/) (where the actual 32-byte address is called “public key” in this document) and [How to convert public key back to address in js sdk - #3 by fabrice](https://forum.algorand.co/t/how-to-convert-public-key-back-to-address-in-js-sdk/3643/3)

---

_[View the full topic](https://forum.algorand.co/t/convert-app-arg-to-addr/6347)._
