← WordSwap

Renaming characters in fanfiction with a browser rule

Updated November 2026 · 5 min read

Long fanfics have a peculiar problem. A character is called "Harry" in the narration, "Mr. Potter" by one teacher, "the boy who lived" by a stranger, and something else entirely in a translation. By chapter twenty you're spending more energy tracking names than reading.

A persistent find-and-replace rule in your browser can fix the reading experience without touching the story file.

Start with the one name that confuses you

Don't try to rebuild the whole cast at once. Pick the name that actually slows you down and make one rule:

With whole word turned on, a rule for Lee won't accidentally change Lee's… actually it will, because apostrophes are word boundaries in most engines. If that matters, use the longer form Lee's → Leah's as its own rule, and put it above the shorter one.

Order matters when rules overlap

Rules run in the order you add them. Put the most specific phrase first. For example:

  1. the boy who lived → Harry
  2. Mr. Potter → Harry
  3. Potter → Harry

If you reverse that list, the first rule never sees the longer phrase because it has already been broken up.

Use per-site rules to keep your normal web normal

This is the step that turns a neat trick into something you'll actually keep enabled. Pro's per-site option lets you run a rule only on the archive you read fanfic on — say archiveofourown.org — so your work email and the news don't get rewritten.

If you read on several archives, add them all as a comma-separated list in the rule's Sites field. If you only want to exclude one site, switch the dropdown to "Except on…".

Be kind to the text. Replacement changes what you see in your browser. It doesn't edit the published work, and it doesn't change comments or other readers' copies. If a name swap makes a sentence nonsense, turn that rule off for a chapter rather than forcing it.

Other uses that work the same way

Free gets you five rules, which is enough for most single fics. If you keep a library of swaps for different series, Pro removes the cap and lets you import/export the whole set.

Install WordSwap free →