Skip to content

Credit Card Validator Program in Java

Recently I removed a credit card applet from the site. I have decided to re-write the applet into a stand alone executable jar. I have also made a few small improvements to the source code.

The Credit Card Validator program allows you to validate credit card numbers with the Luhn checksum algorithm. It also allows you to generate credit card numbers that pass the Luhn checksum. These card numbers won’t work, they will only pass a Luhn checksum.

The Credit Card Validator program uses my Credit Card Checksum Package.

You can run the program by extracting the zip file and then double clicking on “creditcardvalidation.jar” or by typing “java -jar creditcardvalidation.jar” in the console.

The Credit Card Validator program is released under the GPL version 3. The source code can be found in the jar.

Download: Credit Card Validator