ISO 8601 Converter
Convert a date into every ISO 8601 form, including week and ordinal dates.
Check any number against the Luhn checksum and see the working.
The Luhn Validator checks a number against the mod-10 checksum and shows the working — which digits double, what each contributes, and the final total — because seeing it is what makes the algorithm implementable.
Paste a number and the Luhn checksum is calculated with the working shown: which digits are doubled, what each becomes, the running total and the final modulo. Seeing it is far more useful than a yes or no when you are implementing the check yourself.
The algorithm is used for far more than card numbers — IMEI numbers, some national identification numbers, and a variety of account references all use it. Where the input looks like a card number the scheme is identified from its prefix and length, and the expected check digit is shown when the number fails, which usually makes the typo obvious.
Each digit with whether it doubled and what it contributed, so you can implement the check yourself from what you see.
When a number fails, the check digit that would have been correct is given — which usually makes the typo obvious.
A card number is matched to its scheme from the prefix and length.
IMEIs, some national identification numbers and many account references use the same checksum.
Luhn catches typos. It says nothing about whether an account exists, and the page does not pretend otherwise.
Spaces and hyphens are ignored.
Pass or fail, plus the check digit that would have been correct.
Each digit is shown with what it contributes to the total.
Card numbers are identified from their prefix and length.
Every single-digit error and almost every transposition of adjacent digits — which together are nearly all the mistakes a person makes typing a long number.
Swapping 09 for 90, which is the one transposition it misses. It also says nothing about whether the number corresponds to a real account.
IMEI numbers on phones, some national identification numbers, SIM card serials and a range of account references. It is a general-purpose checksum, not a payment-specific one.
Yes, as a courtesy — it catches a typo instantly instead of after a round trip. It is not a substitute for an authorisation, which is the only thing that proves a card is usable.
What people who use the Luhn Validator think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Luhn Validator. It takes half a minute and no account.
Write the first reviewConvert a date into every ISO 8601 form, including week and ordinal dates.
Build CSS keyframe animations and watch them run as you edit.
Convert an INI or config file into structured JSON, sections and all.
Run JSONPath expressions against a document and see every match live.
The full ASCII table with decimal, hex, octal, binary and HTML entities.
Build a Content-Security-Policy header directive by directive.
Convert between bytes, KiB, MB, GB and bits, in both systems.
Build an accessible HTML table from pasted data or by hand.