DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

Git Mailmap Preview

Preview how a .mailmap changes Git author names and emails. Compare contacts locally without uploading them or editing repository history.

Loading tool...

How to preview Git author aliases before committing

  1. Enter the mailmap

    Paste the rules or open the UTF-8 .mailmap file. For example, use Alex Rivera <alex@example.invalid> <old@example.invalid>.

  2. Check sample authors

    Enter one name and address per line. For example, A. Rivera <old@example.invalid> becomes Alex Rivera <alex@example.invalid>.

  3. Review or export the changes

    See whether an address-only or a name-and-email rule won. The downloadable JSON omits identities unless you explicitly include them.

Use cases

  • Check that a contributor’s older email addresses display under their preferred identity.
  • Catch alias conflicts before adding a mailmap to a shared repository.

Limits and privacy

  • One UTF-8 rule file and one contact per line. Each input supports 128 KiB and 1,000 lines, with at most 2,048 characters per line.
  • Uses ASCII case-insensitive comparison and exact matching for other letters. It does not read Git configuration, a repository or commit history. Unsupported lines are flagged rather than guessed.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

How do I compare older and proposed rule files?

Use Text Diff Checker to compare the actual rule text. Then use Git Mailmap Preview to see what those rules do to specific author identities.

Does .mailmap rewrite Git commits?

No. A mailmap changes how compatible Git commands display author or committer identities. This preview does not change any files or commits.

What if two Git authors use the same old email?

Use a name-and-email rule for the old identity. For that exact combination it takes priority over an email-wide rule.

How do I confirm the result with Git?

Run git check-mailmap from the intended repository. That applies your repository and Git configuration, which this browser preview cannot see.

Related tools