Validators

Free Online Validators for Code, Data Formats and Identifiers

A validator checks something against a rule before anything depends on it: markup with an unclosed tag, a stylesheet browsers will quietly ignore, an email that can never deliver, or a card number with a mistyped digit. These validators explain what failed and where, and they run entirely in your browser.

Validators guides

Short explainers that show how the maths or the file format works, and which tool to reach for next.

All articles

All 15 validators, by type

Each group explains what its tools are for, so you can find the right one without scrolling a long list.

Code and markup (4)

For files you write and publish: HTML structure, CSS rules, XML well-formedness and JSON checked against a schema. These find the mistakes that break pages, feeds and API calls, with line numbers or field paths to help you fix them.

Web and network identifiers (6)

For strings that must be in an exact shape to work: email addresses, URLs, IPv4 and IPv6 addresses, MAC addresses, UUIDs and Base64. Use them before data goes into a form, database, allow-list or request.

Numbers, dates and colors (4)

For values with a built-in checksum or calendar rule: credit card numbers, ISBN-10 and ISBN-13 codes, dates that must be real, and hex color codes that must have the right digits before you use them in CSS.

Security (1)

A local strength check for passwords, based on length, character variety, repeated characters and simple sequences. It runs in your browser, so the password you type is never transmitted.

Why use FreeToolsVerse validators

Catch mistakes before they ship

Browsers quietly ignore broken CSS and forgive sloppy HTML, so problems hide until they hurt. A validator lists them while they are still cheap to fix.

Reasons, not just pass or fail

The UUID validator reports version and variant, the IP validator flags leading zeros and ranges, the URL validator splits the address into parts, and the ISBN validator shows the ISBN-10 equivalent.

Honest about what a check proves

Format checks cannot know whether a mailbox exists, a card is active, a book was published or a page is online. Each page says what it does not test.

Follows the real rules

HTML optional end tags are not flagged, UUIDs follow RFC 9562, card numbers use Luhn plus issuer ranges, and JSON Schema drafts are chosen from the schema itself.

Safe for sensitive strings

You can paste a card number for testing, an internal URL or a draft config without sending it anywhere, because the checks run locally.

How these tools are built and checked

Each validator follows the published rule for its format: the Luhn checksum and issuer ranges for cards, the ISBN check-digit formulas, RFC 9562 for UUID versions, IPv4 octet limits and IPv6 compression rules, and the JSON Schema drafts for schema checks. The HTML checker understands optional end tags. The CSS checker parses structure itself and asks the browser's CSS engine to judge values. XML uses the browser's parser. Automated tests cover valid and invalid examples for the format validators, HTML and CSS linting, and JSON Schema, and every page states what it does not check, such as whether an address exists.

Read our editorial standards

Validators: frequently asked questions

Does a valid email result mean the mailbox exists?

No. The Email Validator checks syntax only: the local part, the @ sign and the domain labels, plus common domain typos. It cannot tell whether a mailbox exists or can receive mail. The only reliable test is sending a confirmation email and asking the person to click it.

Does a passing Luhn check prove a card number is real?

No. The Luhn checksum catches most single-digit typos and swapped neighbors, and the tool checks the issuer prefix and length, but it never contacts a bank. A well-formed number may not exist or be active. While developing, use the published test numbers from your payment provider.

What is the difference between well-formed and valid XML?

Well-formed XML follows the syntax rules: every tag closed and nested, one root element and quoted attributes. Valid XML also conforms to a schema or DTD. The XML Validator checks well-formedness using your browser's XML parser and does not check a document against a schema.

Why does the CSS Validator call a property unsupported?

The tool parses the stylesheet structure itself but asks your browser's own CSS engine to judge property names, values, selectors and media queries. Very new or vendor-specific features that your browser does not support are reported as unsupported, so try another up-to-date browser before changing correct code.

What does JSON Schema validation add over checking that JSON parses?

Parsing only proves the syntax is valid. A schema checks meaning: field types, required properties, allowed values, patterns and formats such as email or date-time. Each error names the failing path. The Draft-07, 2019-09 or 2020-12 rules are chosen from the $schema value, and remote $ref URLs are not fetched.

How does the Date Validator treat a date like 03/04/2026?

It flags it as ambiguous rather than guessing, because March 4 and April 3 are both real dates. It understands ISO, US, day-first and written formats, and handles leap years and month lengths. Use the ISO form, 2026-04-03, to remove any doubt.

Does a Strong password rating mean it has never been leaked?

No. The checker scores length, character variety, repeated characters and simple sequences. It does not compare the password against lists of breached or common passwords, so a reused or predictable phrase can still score well. Use a unique password for every account and a password manager.