Swap First and Last Name

Convert a list between 'First Last' and 'Last, First' name formats instantly.

Name lists come in two common formats — "First Last" for natural reading order, and "Last, First" for alphabetized directories — and converting a whole list between the two by hand is tedious past a handful of names.

This tool detects each line's format based on whether a comma is present and swaps the name order accordingly, converting an entire list between "Last, First" and "First Last" formats in one pass.

This is useful for reformatting a contact list, converting a database export's name format, or preparing a name list for a document that expects the opposite ordering convention from your source data.

Because everything runs locally in your browser, results appear instantly and nothing you type or upload is ever sent to a server.

Bookmark this page if you expect to use this tool regularly — it loads fast and behaves the same way every time, with no account needed.

This kind of task shows up constantly in everyday writing, coding, design, and admin work, which is exactly why a dedicated, focused tool saves so much back-and-forth.

A tool that does one job well, without a cluttered interface or unrelated features competing for attention, tends to be faster to use than a heavier all-in-one app.

If you find yourself needing this often, keeping this page open in a tab is usually faster than digging through a bigger software suite's menus.

Frequently asked questions

What if a name has a middle name or suffix?

The tool assumes exactly two name components separated by the format's convention; names with a middle name or suffix like "Jr." may need manual adjustment after the basic swap.

Does it add or remove the comma automatically?

Yes, converting to "First Last" removes the comma, and converting to "Last, First" adds one, matching each target format's standard convention.