A connector which is attachable to an electric wire, wherein: the connector is mateable with a mating connector provided with a mating terminal; the connector comprises a housing, at least one terminal, a shell and a locator; the terminal is held by the housing; the terminal has a contact portion which is brought into contact with the mating terminal when the connector is mated with the mating connector and a connection portion to be connected to the electric wire; the shell is made of metal and has two side wall portions which are located apart from each other in a width direction; each of the side wall portions is provided with a first aperture and a second aperture; the first aperture and the second aperture pierce the side wall portion in the width direction and are located apart from each other in a first direction perpendicular to the width direction; the locator is provided with a first end face, a second end face, a receiving aperture, an admitting portion and two protruding portions; the first end face and the second end face are located on both ends of the locator in a second direction which is perpendicular to the width direction and intersects with the first direction; the receiving aperture pierces the locator from the second end face to the first end face and is configured to receive an end of the electric wire; the admitting portion communicates with the receiving aperture and allows the connection portion to be moved therein when the locator is moved; the protruding portions correspond to the side wall portions of the shell, respectively; and each of the protruding portions protrudes outward in the width direction; when the locator is positioned at a first position, each of the protruding portions is positioned in the first aperture of the side wall portion corresponding thereto; characterized in that the locator is attached to the shell so that the locator is movable from the first position to a second position in the first direction; and when the locator is positioned at the second position, each of the protruding portions is positioned in the second aperture of the side wall portion corresponding thereto while the connection portion is positioned in the receiving aperture in part. the connector is mateable with a mating connector provided with a mating terminal; the connector comprises a housing, at least one terminal, a shell and a locator; the terminal is held by the housing; the terminal has a contact portion which is brought into contact with the mating terminal when the connector is mated with the mating connector and a connection portion to be connected to the electric wire; the shell is made of metal and has two side wall portions which are located apart from each other in a width direction; each of the side wall portions is provided with a first aperture and a second aperture; the first aperture and the second aperture pierce the side wall portion in the width direction and are located apart from each other in a first direction perpendicular to the width direction; the locator is provided with a first end face, a second end face, a receiving aperture, an admitting portion and two protruding portions; the first end face and the second end face are located on both ends of the locator in a second direction which is perpendicular to the width direction and intersects with the first direction; the receiving aperture pierces the locator from the second end face to the first end face and is configured to receive an end of the electric wire; the admitting portion communicates with the receiving aperture and allows the connection portion to be moved therein when the locator is moved; the protruding portions correspond to the side wall portions of the shell, respectively; and each of the protruding portions protrudes outward in the width direction; when the locator is positioned at a first position, each of the protruding portions is positioned in the first aperture of the side wall portion corresponding thereto; characterized in that the locator is attached to the shell so that the locator is movable from the first position to a second position in the first direction; and when the locator is positioned at the second position, each of the protruding portions is positioned in the second aperture of the side wall portion corresponding thereto while the connection portion is positioned in the receiving aperture in part.