# Strip https:// prefix when pasting websites into Company domain Name property

**URL:** <https://community.hubspot.com/t/strip-https-prefix-when-pasting-websites-into-company-domain-name-property/74797>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [February 8, 2023, 10:51pm UTC](https://community.hubspot.com/t/strip-https-prefix-when-pasting-websites-into-company-domain-name-property/74797 "2023-02-08T22:51:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![briansweat](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/briansweat/32/2008_2.png) [@briansweat](https://community.hubspot.com/u/briansweat)\
**Post date:** [February 8, 2023, 10:51pm UTC](https://community.hubspot.com/t/strip-https-prefix-when-pasting-websites-into-company-domain-name-property/74797/1 "2023-02-08T22:51:56Z")

</div>

For new gmail contacts, we often will find their website ourselves. Copying and pasting the Company domain name for the related company record doesn’t work because **Chrome always includes the https:// prefix** even if you carefully just select the domain name in the address bar.

For example, the URL in the address bar would be displayed as **[example.com/welcome.html](http://example.com/welcome.html)**. We carefully select just **[example.com](http://example.com)** then press Ctrl+C to copy it. Chrome will convert it to **[https://example.com](https://example.com)**. So we can’t just paste that into the HubSpot **Company domain name**. Furthermore, it’s not even visible because the entry box is narrow. You have to move your cursor all the way to the left to remove the https:// prefix.

**Please strip the https:// when validating a domain name for Company records. Thanks!!!**

---

<div class="post-metadata">

**Author:** ![RChantre](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@RChantre](https://community.hubspot.com/u/RChantre)\
**Post date:** [August 23, 2023, 7:47am UTC](https://community.hubspot.com/t/strip-https-prefix-when-pasting-websites-into-company-domain-name-property/74797/2 "2023-08-23T07:47:21Z")

</div>

Oh, yes

Please Hubspot team do this update, this will accelerate data inputs into CRM

Thanks!

Romain

---

<div class="post-metadata">

**Author:** ![JohnnyA\_NZ](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@JohnnyA\_NZ](https://community.hubspot.com/u/JohnnyA_NZ)\
**Post date:** [March 31, 2025, 8:44pm UTC](https://community.hubspot.com/t/strip-https-prefix-when-pasting-websites-into-company-domain-name-property/74797/3 "2025-03-31T20:44:12Z")

</div>

Agreed. Also remove any trailing parts of a URL to become a valid domain (e.g. [https://somewebsite.com/en](https://somewebsite/en) becomes [somewebsite.com](http://somewebsite.com) (a valid domain)).  
Hubspot already validates the domain and complains about the characters that don’t belong, so it should be simple to remove them as a first pass and let the user make any further adjustments if needed.
