---
title: "url"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/data-schema/src/lib/checks.ts#L57"
---

# url

## Summary

Require a string to be a valid URL.

## Signature

```ts
function url(): Check<string>

```

## Returns

A [`Check`](/data-schema/type/Check/) that validates URL-like strings