Skip to content

Credit Card Validator

Check whether a card number is valid with the Luhn algorithm and identify the card network.

Validation runs in your browser and nothing is sent anywhere. Never enter a real card number on sites you do not trust.

Continue your work

Share this tool

Found it useful? Send it to a friend or teammate.

Rate this tool

0.0

0 ratings

  • 5 stars 0
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0

Click a star to rate this tool

Clear instructions

Find steps, examples and limitations below.

Use online

Open the tool in a supported web browser.

Free to use

No sign-up required. Tool-specific limits may apply.

How to use the Credit Card Validator

Check whether a card number is valid with the Luhn algorithm and identify the card network.

  1. 1 Type or paste a card number. Spaces and dashes are ignored.
  2. 2 Read whether it passes the Luhn checksum and has the right length for its network.
  3. 3 Use it to catch typos in test numbers or forms; it does not check whether a card is real or active.

Example and practical tips

The test number 4111 1111 1111 1111 is a valid Visa number. Swapping two digits makes the Luhn check fail, which is exactly the kind of typo checkout forms catch.

Frequently asked questions

What is the Luhn algorithm?

A checksum formula built into card numbers that detects most single-digit mistakes and swapped digits.

Is the number sent to a server?

No. Validation runs in your browser. Still, never enter a real card number on sites you do not trust.

Report an issue

Something broken or not quite right? Tell us and we will look into it.