
Direct pin-for-pin replacement from the original series manufacturer (JST) with identical key specifications.
The HCTL HC-XH-2A-G is a 2-pin, 2.5mm pitch straight header, part of the widely cloned JST XH connector family. Finding a substitute requires matching these key parameters for a reliable connection.
Many clones exist; verify mechanical drawings for non-JST parts.
The 3A/250V rating is standard for the XH series.
The XH series is a multi-source, high-availability connector family.
Yes, the JST B2B-XH-A(LF)(SN) is a direct, pin-compatible replacement for the HC-XH-2A-G, offering the same form, fit, and function.
The JST B2B-XH-A(LF)(SN) is the original manufacturer's part and serves as a direct, high-quality pin-to-pin replacement.
The main risk is selecting a part with a different mounting orientation (e.g., right-angle) or from an incompatible connector series (like JST XA).

Direct pin-for-pin replacement from the original series manufacturer (JST) with identical key specifications.
| Feature / factor | HC-XH-2A-G | B2B-XH-A(LF)(SN) | S2B-XH-A(LF)(SN) | ZX-XH2.54-2PZZ-R | Compatibility / risk |
|---|---|---|---|---|---|
| Package | Through Hole, Straight | Through Hole, Straight | - | - | Through Hole, Straight — Matches target's mounting style. |
| Pinout | 2 | 2 | - | - | 2.5mm — Matches 2-pin, 2.5mm pitch. MPN has '2.54' but spec is 2.5mm. |
| Voltage | 250 V | 250 V | - | - | 250 V — Identical voltage rating. |
| Current | 3 A | 3 A | - | - | 3 A — Identical current rating. |
| Application | HCTL (Clone) | JST (Original) | - | - | JST (Original) — This is the original part from the XH series inventor. |
The best alternative is B2B-XH-A(LF)(SN) from JST. It is the original manufacturer's part for this connector type and is a direct pin-compatible replacement.