291Banks
Banks with their Bank of Thailand code, SWIFT code, color and account number length.
Try it
Account number check
BankService.check() - length from bank.account_length, then formatted
KBANK
123-4-56789-0
Looks valid for KBANK.
| # | Color | Code | Short name | Name (Thai) | Name (English) | SWIFT | Account digits | Status | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | #1e4598 | 002 | BBL | ธนาคารกรุงเทพ | Bangkok Bank | BKKBTHBK | 10 | Active | ✏️ |
| 2 | #138f2d | 004 | KBANK | ธนาคารกสิกรไทย | Kasikornbank | KASITHBK | 10 | Active | ✏️ |
| 3 | #1ba5e1 | 006 | KTB | ธนาคารกรุงไทย | Krungthai Bank | KRTHTHBK | 10 | Active | ✏️ |
| 4 | #0050f0 | 011 | TTB | ธนาคารทหารไทยธนชาต | TMBThanachart Bank | TMBKTHBK | 10 | Active | ✏️ |
| 5 | #4e2e7f | 014 | SCB | ธนาคารไทยพาณิชย์ | Siam Commercial Bank | SICOTHBK | 10 | Active | ✏️ |
| 10 | #0b3979 | 024 | UOBT | ธนาคารยูโอบี | United Overseas Bank (Thai) | UOVBTHBK | 10 | Active | ✏️ |
| 6 | #d4a017 | 025 | BAY | ธนาคารกรุงศรีอยุธยา | Bank of Ayudhya (Krungsri) | AYUDTHBK | 10 | Active | ✏️ |
| 7 | #eb198d | 030 | GSB | ธนาคารออมสิน | Government Savings Bank | GSBATHBK | 12 | Active | ✏️ |
| 8 | #4b9b1d | 034 | BAAC | ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร | Bank for Agriculture and Agricultural Cooperatives | BAABTHBK | 12 | Active | ✏️ |
| 9 | #635f98 | 069 | KKP | ธนาคารเกียรตินาคินภัทร | Kiatnakin Phatra Bank | KKPBTHBK | 10 | Active | ✏️ |
Showing 1–10 of 10
🎓 Learn: how this master is built table bank
Key points
- BankService.check() validates an account number against account_length and formats it.
Code
- Entity
domain/Bank.java- Repository
repo/BankRepository.java- Definition
MasterRegistry: "banks"- Page / form
web/MasterController.java- Try-it panel
templates/tools/bank-check.html- REST API
GET /api/banks/004/check?account=1234567890
SQL to try in SSMS (database MasterDataLabDB)
SELECT code, short_name, name_th, swift_code FROM bank ORDER BY code;