Advertisement

Prefix 34, 37 · 15 digits · 4-digit CVV

American Express Credit Card Generator

Generate 15-digit American Express test (dummy) numbers that start with 34 or 37 and pass the Luhn check, with a 4-digit security code.

Advertisement

Runs in your browser · 8 networks · 374,788 BINs

Generated cards

Test data only — these numbers are not issued by any bank and every real payment with them will be declined. Need a card that works online? Ask your bank for a virtual card. Testing a checkout? Use your gateway’s sandbox test cards.

Advertisement

Prefix 34, 37 · 15 digits · 4-digit CVV

Generated locally with your browser’s crypto API — nothing is sent to a server.

American Express format

Starts with
34, 37
Length
15
Security code
4
Stripe
3782 822463 10005
Advertisement

About American Express card numbers

American Express is different from Visa and Mastercard in two ways that matter for testing. First, it is both the network and, in its largest markets, including the US, the issuer of the card. Second, its card numbers break the usual rules: they are 15 digits long instead of 16 and are grouped 4-6-5 (for example 3782 822463 10005).

The security code is also different. Amex prints a 4-digit CID on the front of the card, above the number, instead of a 3-digit code on the back. A checkout form that hard-codes a 16-digit length or a 3-digit CVV will reject every Amex customer, which is why Amex numbers are a standard part of any payment test plan.

All American Express numbers start with 34 or 37. The generator above creates both and adds a random 4-digit CID; use the CVV field if your test needs a fixed value.

American Express card number format and example

Starts with (IIN)34 and 37
Number length15 digits
Typical layout3xxx xxxxxx xxxxx
Security code4-digit CID printed on the front
Check digitLast digit, calculated with the Luhn (mod 10) algorithm
NetworkAmerican Express
Example (test number)3782 822463 10005
Advertisement

Official American Express sandbox test numbers

Payment gateways publish fixed test numbers that only work in their test mode. Use them when you need a predictable gateway response; use the generator above for bulk or randomized data.

GatewayTest number
Stripe3782 822463 10005
Stripe3714 496353 98431
Braintree3782 822463 10005

Sources: the gateways' own documentation — Stripe, PayPal, Braintree, Adyen.

Amex test card numbers with CVV

An American Express test number needs a 4-digit security code (CID): a 3-digit code fails any form that checks the length for the brand. The generator adds a random 4-digit CID to every number; when a test needs a fixed value, type it (for example 1234) in the CVV field under “Expiry, CVV & output format”.

In gateway test modes, the documented Amex numbers — such as Stripe’s 3782 822463 10005 and 3714 496353 98431 — accept any 4-digit CID and any future expiry date. To check a number and its CID length together, paste both into the validator.

Need a billing address and ZIP code as well? Tick Add billing address & ZIP (US) above; how address (AVS) testing works is explained on the Visa generator page.

How to test American Express payments safely

  1. Check that your form accepts exactly 15 digits, groups them 4-6-5 as the customer types, and switches the security-code field to 4 digits as soon as the number starts with 34 or 37.
  2. Change one digit of a generated number — your form should now reject it, because the Luhn check fails. You can confirm why with the validator.
  3. Switch your payment provider to sandbox / test mode and use its documented test cards for authorization, decline and 3-D Secure scenarios.
  4. Never use real customer card numbers in development or staging environments.
Generated American Express numbers are for testing only. They are not linked to any American Express account, hold no balance and will be declined by any live payment system.

Frequently asked questions

How many digits is an American Express card number?

15 digits, formatted as 4-6-5. It is the only major brand that uses 15 digits.

Why does American Express have a 4-digit CVV?

Amex uses a 4-digit card identification number (CID) printed on the front of the card. Your form should accept 4 digits when the number starts with 34 or 37.

What is the Amex test card number for Stripe?

Stripe documents 3782 822463 10005 and 3714 496353 98431, with any future expiry date and any 4-digit CID, in test mode only.

What does an American Express card number look like?

15 digits starting with 34 or 37, grouped 4-6-5 — for example the Stripe test number 3782 822463 10005. The 4-digit CID is printed on the front.

Can I buy something or start a free trial with a generated card?

No. A real payment needs an authorization from the issuing bank, and no bank has issued these numbers, so every charge is declined. Trying to pay with a number you do not own is fraud. Use them only in sandboxes, forms and test data.

Related tools

Brand ranges at a glance

The prefixes and lengths your checkout must accept. Each brand has its own generator page.

For developers & QA

Test data that stays out of PCI scope

Use generated numbers for everything before the payment request, then switch to your gateway’s official sandbox cards for approvals, declines and 3-D Secure.

  • Test form validation & input masks
  • Seed staging databases and demos
  • Reproduce declines and 3-D Secure in the sandbox
Browse gateway test cards

Official sandbox cards, per gateway

All 18 gateways →

Advertisement