
Original JST part with matching key specs; likely a pin-compatible replacement for the FG clone.
The FG XHB-4A is a 4-pin, 2.5mm pitch straight male header, a common clone of the JST XH connector series. Several pin-compatible alternatives are available, including the original JST part and other cross-vendor clones.
Clones may have slight dimensional variations. Datasheet footprint and height verification is critical.
Most clones match the 3A/250V rating, but some (like BOOMELE's) have lower voltage ratings and must be avoided.
This is a very common connector style with many manufacturers, making sourcing generally easy.
Yes, there are several direct replacements for the XHB-4A. The original part from JST, B4B-XH-A(LF)(SN), and clones like HCTL's HC-XHB-4A are strong candidates, matching key specs like 4-pins, 2.5mm pitch, and 3A/250V rating.
The best replacement is the original JST part, B4B-XH-A(LF)(SN), which offers the highest confidence in compatibility.
The main risk is mechanical incompatibility. While many clones exist, slight variations in the plastic shroud dimensions or pin length can prevent proper mating. Always verify with datasheets.

Original JST part with matching key specs; likely a pin-compatible replacement for the FG clone.
| Feature / factor | XHB-4A | B4B-XH-A(LF)(SN) | HC-XHB-4A | XHB-4A | Compatibility / risk |
|---|---|---|---|---|---|
| Application | FG | JST | - | - | JST — This is the original JST part that the target is a clone of. |
| Package | Through Hole, Straight | Through Hole, Straight, Shrouded | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight, Shrouded — Matches form and orientation.; HC-XHB-4A: Matches form and orientation. |
| Current | 3A | 3A | 3A | Not specified | 3A / Not specified — matched; HC-XHB-4A: matched; XHB-4A: Current rating must be verified from datasheet. |
| Voltage | 250V | 250V | 250V | 50V | 250V — matched; HC-XHB-4A: matched; XHB-4A: Significantly lower voltage rating. |
| Temperature | -25°C to +85°C | -25°C to +85°C | - | - | -25°C to +85°C — matched |
The best alternative to XHB-4A is the original JST part, B4B-XH-A(LF)(SN). It is the part this and other clones are based on, ensuring the highest likelihood of mechanical and electrical compatibility.