Formula Library

Excel Formula To Derive Website Domain From Web Address

Derive website domain web address with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Derive website domain web address.

Unified formula

ExcelWPS
=LET(url, A2, TEXTBEFORE(TEXTAFTER(url, "//"), "/"))
View platform differences

Google Sheets

=REGEXEXTRACT(A2, "https?://([^/]+)")

How it works

Need a custom version?

Related formulas