The <embed> Tag Attributes Remover is a free, browser-based tool that strips unwanted or presentational attributes such as class, id, style, and legacy name from HTML <embed> tags.
Paste your <embed> tag below, specify the attributes to remove, and click Remove.
How to Use Step by Step?
Step 1: Open the Tool Save the HTML code as a file (e.g., embed-remover.html) and double-click it to open in any browser. No installation or internet needed — it runs entirely offline.
Step 2: Paste Your HTML In the "Input HTML" box, paste the HTML containing <embed> tags you want to clean. For example:
<embed src="movie.swf" type="application/x-shockwave-flash" class="player" id="video1" style="border:1px solid #ccc" width="400" height="300" name="flashMovie">
Step 3: Set Attributes to Remove In the "Attributes to remove" field, type the attribute names separated by commas. The default is class, id, style, name.
→To remove only class and style, type: class, style.
→To remove ALL attributes, type: * (asterisk).
Step 4: Set Preserve List (Critical for Embed) In the "Preserve (don not remove)" field, list attributes you want to keep. The default is src, type.
-> This is critical: If you remove src, the embed becomes useless. If you remove type, some browsers may fail to render the content. Always keep both unless you know what you re doing.
Recommended preserve list: src, type, width, height
Step 5: Click "Remove Attributes" Press the Remove Attributes button. The cleaned HTML appears in the "Output HTML" box, and a green success message shows below it.
Input:
<embed src="movie.swf" type="application/x-shockwave-flash" class="player" id="video1" style="border:1px solid #ccc" width="400" height="300" name="flashMovie">
Output:
<embed src="movie.swf" type="application/x-shockwave-flash" width="400" height="300">
Step 6: Copy the Result Click the Copy button at the top-right of the output box. It turns green and shows "Copied!" the cleaned code is now in your clipboard.
Step 7: Reset (If Needed) Click ✕ Clear to empty all fields and start over.