
The original JST XH series part, offering a brand-name, pin-compatible alternative.
HC-XH-4A-G is a 4-pin, 2.5mm pitch straight through-hole header from HCTL, commonly used for wire-to-board connections and compatible with the popular JST XH connector series.
Selecting a part from a different series (EH, XA) or orientation (right-angle) will not fit the PCB or mate correctly.
Most clones and the original part share the same 3A/250V rating, but this should always be confirmed.
Direct replacement for HC-XH-4A-G should use only Datasheet verified or Strong match candidates; many approved options still require engineering review.
Use HC-XHB-4A from HCTL for the most direct replacement, or B4B-XH-A(LF)(SN) from JST for the original series equivalent.
The main risk is mechanical incompatibility from selecting a part from a different connector series (e.g., JST EH or XA) or orientation (right-angle).

The original JST XH series part, offering a brand-name, pin-compatible alternative.
| Feature / factor | HC-XH-4A-G | B4B-XH-A(LF)(SN) | HC-XHB-4A | XHB-4A | Compatibility / risk |
|---|---|---|---|---|---|
| Manufacturer | HCTL | JST | - | - | BOOMELE — Different manufacturer. |
| Pinout | 4 / 2.5mm / 1 | 4 / 2.5mm / 1 | - | - | 4 / 2.5mm / 1 — Positions, pitch, and rows match. |
| Electrical | 3A / 250V | 3A / 250V | - | - | 3A / 250V — Datasheet confirms matching ratings. |
| Package | Through Hole, Straight | Through Hole, Straight | - | - | Through Hole, Straight — Mounting type and orientation match. |
| Part Number | HC-XH-4A-G | - | HC-XHB-4A | - | HC-XHB-4A — Base part number matches target HC-XH-4A-G. |
Verified drop-in options for HC-XH-4A-G are limited in the current batch. Review candidates marked Strong match or Datasheet verified, and validate package, pinout, and electrical limits before committing a BOM change.