This tool converts HTML <i> tags into <em> tags in multiple ways. You can replace all <i> and </i> tags, do so partially (only opening or closing), remove them entirely, replace only if they have non-empty content, or skip escaped tags.
Examples:
Replace All <i> and </i>
Every <i> → <em> and </i> → </em>.
Before:
Hello <i>World</i>!
After:
Hello <em>World</em>!
Replace Only <i>
Leaves </i> as </i>.
Before:
<i>Title</i> <i>Another</i>
After:
<em>Title</i> <em>Another</i>
Replace Only </i>
Leaves <i> alone, but </i> → </em>.
Before:
<i>Italic</i> text <i>Another</i>
After:
<i>Italic</em> text <i>Another</em>
Remove <i> Tags Entirely
Erases <i> and </i>, leaves inside text.
Before:
Hello <i>Italic</i> Words
After:
Hello Italic Words
Replace Only if <i>...</i> Has Text
Skips empty pairs, only convert if real content inside.
Before:
<i>Yes</i> <i></i> <i>Also</i>
After:
<em>Yes</em> <i></i> <em>Also</em>
Skip Escaped <i> or </i>
Leaves \<i> or \</i> alone, only changes real tags.
Before:
\<i> literal, real <i>stuff</i>
After:
\<i> literal, real <em>stuff</em>