MX Lookup

Sort pasted MX records by priority and list their mail hosts.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

MX Lookup

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Records 20 mail2 and 10 mail1 sort to 10 mail1 first, then 20 mail2.

What this tool does not do / Limits

This tool only reads the record lines you paste. It performs no live DNS lookup and cannot prove which mail server a domain actually uses today.

Frequently asked questions

Is this a live DNS lookup?

No. You paste the records; this page never queries DNS.

Why sort by priority?

Lower MX priority numbers are tried first, so the sorted list shows the order in the pasted text.

Related tools