Category: FUNCTION | Updated: 2026-11-22

How to Use the ISURL Function in Google Sheets | Check Whether a Value Is a Valid URL

What Is the ISURL Function?

The ISURL function is an information function that checks whether a specified value or cell content is formatted as a valid URL (web address), returning TRUE or FALSE. It is useful for cleaning website lists and validating data entry.

Syntax

=ISURL(value)
  • value: The text string or cell reference to check as a URL.

Practical Examples

This example checks whether the text entered in column A is a valid URL format using ISURL in column B.

Cell Input (Column A) Formula (Column B) Result (Column B) Reason
Row 1 https://www.google.com =ISURL(A1) TRUE Valid URL format
Row 2 www.example.co.jp =ISURL(A2) TRUE Valid URL format even without protocol
Row 3 example@gmail.com =ISURL(A3) FALSE It is an email address, not a URL
Row 4 https://example com =ISURL(A4) FALSE Contains a space inside the URL
Row 5 (Blank cell) =ISURL(A5) FALSE No value is entered

Common Errors and Precautions

  • Does not check whether the site is actually reachable: ISURL only checks whether the URL syntax and format are valid. Even if a link is broken (404 error) or the domain does not exist, it returns TRUE as long as the format is valid.
  • Watch out for leading or trailing spaces: Leading or trailing half-width or full-width spaces in a URL will cause FALSE. To check accurately, combine it with TRIM like =ISURL(TRIM(A1)).
  • Forgetting quotation marks: When writing a URL directly inside the formula, always enclose it in double quotes, such as =ISURL("https://example.com"). Omitting them causes a #ERROR! (formula parse error).

Frequently Asked Questions

Q. Does ISURL return TRUE for URLs without http, such as 'www.example.com'?

A. Yes. Even if the protocol (http:// or https://) is omitted, formats like 'www.example.com' are evaluated as TRUE as long as they are valid domain formats.

Q. Can ISURL check links created with the HYPERLINK function?

A. Yes. Even if a cell contains a HYPERLINK formula, ISURL returns TRUE as long as the destination URL is in a valid format.