util2dev —

Credit Card (Luhn), CPF, CNPJ & IP Validator + Word Counter

Validate credit card numbers with the Luhn algorithm, Brazilian CPF and CNPJ check digits, IPv4/IPv6 addresses, and count words, characters and lines. Free and private.

How to use

  1. Pick the validator tab (CPF, CNPJ, card, IP or counter).
  2. Type or paste the value — validation is instant.
  3. Use "Generate" to create valid test CPFs/CNPJs.

Frequently asked questions

What is the Luhn algorithm?

A checksum used by credit cards and IMEIs to catch typos. A valid Luhn number is not necessarily an active card.

Are the generated CPFs real?

No. They are random numbers with valid check digits, for testing only.

Is the card number stored?

Never. Validation happens only in your browser.