Replace HTML <i> tags with <em> tags

Please log in or register to do it.

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.

Processing Modes:


Every <i> → <em> and </i> → </em>.

Leaves </i> as is.

<i> remains <i>, but </i> → </em>.

Strips <i> and </i> from text, leaving content.

Skips empty or whitespace <i></i> pairs.

Leaves \<i> or \</i> as literal, only changes real 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>
Replace all letters with Unicode italic equivalents
Replace HTML <b> tags with <strong> tags

Your email address will not be published. Required fields are marked *