Replace one HTML tag with another in a full HTML document. Processing runs fully in your browser.
The Tag Replacer tool replaces one HTML tag with another across a full HTML document. You can optionally limit replacements by class name and/or ID, and choose whether to preserve attributes.
<img />Input HTML:
<div class="card featured" id="hero">Content</div>
<div class="container">Other</div>
Settings: Find div, Replace with section, Class contains card
Output HTML:
<section class="card featured" id="hero">Content</section>
<div class="container">Other</div>