> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Validation Tools

> Validate emails, URLs, phone numbers, credit cards, IP addresses, and more.

The Validation Tools connector checks data against common formats and rules: emails, URLs, phone numbers, credit cards, and many more.

> [!NOTE]
>
> No connection required; this utility connector works out of the box.

## Tools

> [accordion] email: Validate email address
>
> **email** `string` *required*
>
> Email address to validate.
>
> **allowDisplayName** `boolean` (default: false)
>
> Allow display name format (e.g., `John <john@example.com>`).
>
> **Example request:**
>
> ```json theme={null}
> { "email": "jane.doe@company.com" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "jane.doe@company.com"
> }
> ```

> [accordion] url: Validate URL
>
> **url** `string` *required*
>
> URL to validate.
>
> **protocols** `string[]` (default: \["http", "https"])
>
> Allowed protocols.
>
> **requireProtocol** `boolean` (default: true)
>
> Require a protocol prefix.
>
> **Example request:**
>
> ```json theme={null}
> { "url": "https://api.example.com/v2/users?page=1", "requireProtocol": true }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "https://api.example.com/v2/users?page=1"
> }
> ```

> [accordion] phone: Validate phone number
>
> **phone** `string` *required*
>
> Phone number to validate.
>
> **locale** `string`
>
> Locale (e.g., `en-US`).
>
> **strictMode** `boolean` (default: false)
>
> Strict validation.
>
> **Example request:**
>
> ```json theme={null}
> { "phone": "+14155552671", "locale": "en-US" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "+14155552671"
> }
> ```

> [accordion] credit-card: Validate credit card number
>
> **number** `string` *required*
>
> Card number.
>
> **Example request:**
>
> ```json theme={null}
> { "number": "4111111111111111" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "4111111111111111"
> }
> ```

> [accordion] ip: Validate IP address
>
> **ip** `string` *required*
>
> IP address to validate.
>
> **version** `string` (default: any)
>
> IP version: `4`, `6`, or `any`.
>
> **Example request:**
>
> ```json theme={null}
> { "ip": "192.168.1.100", "version": "4" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "192.168.1.100",
>   "version": 4
> }
> ```

> [accordion] uuid: Validate UUID
>
> **uuid** `string` *required*
>
> UUID to validate.
>
> **version** `string` (default: any)
>
> UUID version: `1`, `2`, `3`, `4`, `5`, or `any`.
>
> **Example request:**
>
> ```json theme={null}
> { "uuid": "not-a-uuid-string", "version": "4" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": false,
>   "input": "not-a-uuid-string"
> }
> ```

> [accordion] json: Validate JSON
>
> **json** `string` *required*
>
> String to validate.
>
> **Example request:**
>
> ```json theme={null}
> { "json": "{\"name\": \"Alice\", \"age\": 30}" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "error": null
> }
> ```

> [accordion] iso-date: Validate ISO 8601 date
>
> **date** `string` *required*
>
> Date string to validate.
>
> **strict** `boolean` (default: false)
>
> Strict ISO 8601 validation.
>
> **Example request:**
>
> ```json theme={null}
> { "date": "2025-06-15T14:30:00Z", "strict": true }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "2025-06-15T14:30:00Z",
>   "parsed": "2025-06-15T14:30:00.000Z"
> }
> ```

> [accordion] alphanumeric: Check alphanumeric
>
> Check if text contains only letters and numbers.
>
> **text** `string` *required*
>
> Text to check.
>
> **locale** `string` (default: en-US)
>
> Locale.
>
> **Example request:**
>
> ```json theme={null}
> { "text": "Order123ABC" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "Order123ABC"
> }
> ```

> [accordion] numeric: Check numeric
>
> Check if text contains only numbers.
>
> **text** `string` *required*
>
> Text to check.
>
> **noSymbols** `boolean` (default: false)
>
> Disallow `+`, `-`, and `.`.
>
> **Example request:**
>
> ```json theme={null}
> { "text": "12345", "noSymbols": true }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "12345"
> }
> ```

> [accordion] hex-color: Validate hex colour
>
> **color** `string` *required*
>
> Colour code to validate (e.g., `#FF8F28`).
>
> **Example request:**
>
> ```json theme={null}
> { "color": "#FF8F28" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "#FF8F28"
> }
> ```

> [accordion] mac-address: Validate MAC address
>
> **mac** `string` *required*
>
> MAC address to validate.
>
> **noSeparators** `boolean` (default: false)
>
> Allow MAC addresses without separators.
>
> **Example request:**
>
> ```json theme={null}
> { "mac": "00:1A:2B:3C:4D:5E" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "00:1A:2B:3C:4D:5E"
> }
> ```

> [accordion] slug: Validate URL slug
>
> **slug** `string` *required*
>
> Slug to validate.
>
> **Example request:**
>
> ```json theme={null}
> { "slug": "my-blog-post-title" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "input": "my-blog-post-title"
> }
> ```

> [accordion] password-strength: Check password strength
>
> **password** `string` *required*
>
> Password to check.
>
> **minLength** `number` (default: 8)
>
> Minimum length.
>
> **minLowercase** `number` (default: 1)
>
> Minimum lowercase characters.
>
> **minUppercase** `number` (default: 1)
>
> Minimum uppercase characters.
>
> **minNumbers** `number` (default: 1)
>
> Minimum numeric characters.
>
> **minSymbols** `number` (default: 0)
>
> Minimum symbol characters.
>
> **Example request:**
>
> ```json theme={null}
> { "password": "MyP@ss1", "minLength": 8, "minSymbols": 1 }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "strong": false,
>   "checks": {
>     "length": false,
>     "lowercase": true,
>     "uppercase": true,
>     "numbers": true,
>     "symbols": true
>   }
> }
> ```

> [accordion] is-empty: Check if empty
>
> **text** `string` *required*
>
> Text to check.
>
> **ignoreWhitespace** `boolean` (default: true)
>
> Treat whitespace-only as empty.
>
> **Example request:**
>
> ```json theme={null}
> { "text": "   ", "ignoreWhitespace": true }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "empty": true,
>   "length": 3
> }
> ```

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.