WASHINGTON — Taylor Swift has nothing on Snapchat — at least when it comes to persuading people to register to vote.

Snap, the company behind the popular social media service, said on Tuesday that it had helped more than 400,000 users register to vote during a recent two-week period. Much of the activity, the company said, was in key battleground states like Texas, Florida and Georgia.

Snapchat, which is popular among teenagers and young adults, pushed people 18 and over to register by adding a button about doing so on each user’s profile page. The company also sent video messages to all of those users urging them to register.

The users were directed to a nonpartisan voter registration website, TurboVote.org. Once they answered a few questions about their potential eligibility as a voter, TurboVote directed them to state and local election boards to officially register.