BIC SWIFT Code Structure Validator
Parse exact uppercase ISO-style eight/eleven-character BIC structure with omitted branch represented XXX; syntax only, not assignment, real country code, sanctions clearance or reachable SWIFT participant verification.
Description
A Business Identifier Code (BIC) parser separates institution, country, location and optional branch text.
A Business Identifier Code (BIC) parser separates institution, country, location and optional branch text. A syntactic match does not establish assignment or reachability.1
The returned values include Institution code, Country code, Location code, Branch code. The How section below explains the calculation, input rules and interpretation.
When to use BIC SWIFT Code Structure Validator
Use BIC SWIFT Code Structure Validator when you need to evaluate the supplied records under the calculation and evidence rules below. No complete ISO conformance, real country code, assignment, sanctions clearance or reachable SWIFT participant is verified.
Prepare observed financial records and verified caller terms. Use one currency for integer minor-unit money and preserve leading zeros in identifier text. One basis point is 0.01 percentage points. Resolve dates, local clocks, counting rules and evidence flags as specified.
How to use BIC SWIFT Code Structure Validator and understand its results
- Prepare observed financial records and verified caller terms. Use one currency for integer minor-unit money and preserve leading zeros in identifier text. One basis point is 0.01 percentage points. Resolve dates, local clocks, counting rules and evidence flags as specified.
- Enter bicText using the field table and calculation rules, then run the tool.
- Read institutionCode, countryCode, locationCode, branchCode. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| bicText | Bic text | string | Required |
Enter exactly eight or eleven characters matching this implementation’s syntax, with an uppercase alphanumeric optional branch. Return four components and XXX for an omitted branch. No trimming or case conversion occurs. The institution pattern permits digits as well as letters.
syntax=4 uppercase alphanumeric institution characters + 2 uppercase country letters + 2 uppercase alphanumeric location characters + optional 3 branch characters Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| institutionCode | Institution code | string |
| countryCode | Country code | string |
| locationCode | Location code | string |
| branchCode | Branch code | string |
{
"input": {
"bicText": "AAAAUS00"
},
"output": {
"institutionCode": "AAAA",
"countryCode": "US",
"locationCode": "00",
"branchCode": "XXX"
}
} Limitations and assumptions
No complete ISO conformance, real country code, assignment, sanctions clearance or reachable SWIFT participant is verified.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use India IFSC Code Validator: IFSC structure includes a reserved zero in the fifth position. Parsing the text does not identify an assigned bank branch. For a complementary task, use SWIFT MT103 Required Fields Parser: An MT103 block-four parser reads tags and continuation lines from one normalized message. Required-group presence is distinct from full FIN validity or payment authenticity.
References
-
BIC SWIFT Code Structure Validator — tool.io
Similar or alternative tools
- India IFSC Code Validator
IFSC structure includes a reserved zero in the fifth position. Parsing the text does not identify an assigned bank branch.
- SWIFT MT103 Required Fields Parser
An MT103 block-four parser reads tags and continuation lines from one normalized message. Required-group presence is distinct from full FIN validity or payment authenticity.