# How to migrate custom field property which is Text Field to Number Field without loosing data

**URL:** <https://community.hubspot.com/t/how-to-migrate-custom-field-property-which-is-text-field-to-number-field-without-loosing-data/23561>\
**Category:** CRM\
**Created:** [July 30, 2020, 7:13am UTC](https://community.hubspot.com/t/how-to-migrate-custom-field-property-which-is-text-field-to-number-field-without-loosing-data/23561 "2020-07-30T07:13:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cb-madhukiran1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cb-madhukiran1/32/47092_2.png) [@cb-madhukiran1](https://community.hubspot.com/u/cb-madhukiran1)\
**Post date:** [July 30, 2020, 8:33am UTC](https://community.hubspot.com/t/how-to-migrate-custom-field-property-which-is-text-field-to-number-field-without-loosing-data/23561/3 "2020-07-30T08:33:45Z")

</div>

Can we do this via the “update property” API? Will it cause any adverse effects if I try to update the fieldType to number directly? Or should I be creating a new field copy the data to the new field, delete the old field, and create the new field as number

---

_[View the full topic](https://community.hubspot.com/t/how-to-migrate-custom-field-property-which-is-text-field-to-number-field-without-loosing-data/23561)._
