{"$schema":"https://toolsly.tools/schemas/tool-manifest-v1.json","generated":"2026-05-20T20:47:38.401Z","discovery":{"catalog":"https://toolsly.tools/tools.json","llmsTxt":"https://toolsly.tools/llms.txt","sitemap":"https://toolsly.tools/sitemap.xml"},"relatedTools":[{"slug":"luhn-check","name":"Luhn Check","url":"https://toolsly.tools/luhn-check"},{"slug":"card-number-generator","name":"Card Number Generator","url":"https://toolsly.tools/card-number-generator"},{"slug":"card-brand-identifier","name":"Card Brand Identifier","url":"https://toolsly.tools/card-brand-identifier"},{"slug":"bin-lookup","name":"BIN / IIN Lookup","url":"https://toolsly.tools/bin-lookup"},{"slug":"emv-tlv-decoder","name":"EMV TLV Decoder","url":"https://toolsly.tools/emv-tlv-decoder"},{"slug":"emv-tag-lookup","name":"EMV Tag Lookup","url":"https://toolsly.tools/emv-tag-lookup"},{"slug":"track1-decoder","name":"Track 1 Decoder","url":"https://toolsly.tools/track1-decoder"},{"slug":"track2-decoder","name":"Track 2 Decoder","url":"https://toolsly.tools/track2-decoder"}],"kind":"utility","slug":"card-pan-formatter","name":"Card PAN Formatter","description":"Format a card number for display — brand-aware grouping plus a masked version safe to show in receipts.","longDescription":"Paste any Primary Account Number (PAN) and get it grouped the way the issuing scheme prints it on the card — 4-4-4-4 for most 16-digit cards, 4-6-5 for American Express, 4-6-4 for 14-digit Diners, and 4-4-4-4-3 for 19-digit cards. The tool also returns a masked variant (first 6 digits, last 4 digits, bullets in between — the PCI-DSS-safe form used on receipts and dashboards), the detected card brand, the digit count and a Luhn mod-10 verdict. Useful for product engineers building payment dashboards, customer-service agents reading card numbers aloud, and developers formatting saved-card lists. Runs entirely in your browser — your data is never sent anywhere.","category":"payment","categoryName":"Payment & cards","keywords":["card number formatter","pan formatter","pan masking","credit card formatter","card number grouping","card number display","pci safe card number","card brand formatter","masked pan","card number pretty print","card number spacing","amex formatting","card number mask"],"badge":"Formatter","url":"https://toolsly.tools/card-pan-formatter","inputs":[{"type":"text","key":"pan","label":"Card number / PAN","placeholder":"4242 4242 4242 4242","monospace":true,"help":"Spaces and dashes are ignored. The PAN stays in your browser."}],"outputs":[{"key":"brand","label":"Brand"},{"key":"formatted","label":"Formatted"},{"key":"masked","label":"Masked"},{"key":"length","label":"Length"},{"key":"luhnValid","label":"Luhn valid"}],"invocation":{"webUi":"https://toolsly.tools/card-pan-formatter","api":null,"notes":"Currently invoked via the web UI at `webUi`. Inputs are form fields; outputs are structured text values. A remote MCP/REST API is planned."}}