I want to replace one half of this with longer wire, but I am not confident about the name of the connector used.

Image of JST-XH included to convey size. Ruler is metric.