Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SVG ID CleanerNew to Visual Studio Code? Get it now.
SVG ID Cleaner

SVG ID Cleaner

Sam McEwan

|
71 installs
| (0) | Free
Replaces existing IDs with unique IDs in <svg> elements and their child elements, preventing HTML validation errors
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SVG ID Cleaner README

This extension for Visual Studio Code helps you clean up HTML files containing <svg> elements by ensuring that each <svg> element and its child elements have unique IDs, preventing HTML validation errors on websites.

Features

  • Scans HTML documents for <svg> elements.
  • Replaces existing IDs with unique IDs in <svg> elements and their child elements.
  • Easy-to-use interface accessible from the bottom toolbar and right-click menu in Visual Studio Code.

Requirements

This extension requires Visual Studio Code and only works on HTML documents.

Known Issues

There are no known issues at the moment.

Release Notes

1.0.0

Initial release of svg-cleaner.

Contributing

If you have a feature request or bug fix, please feel free to open an issue on the project's GitHub repository.

License

This extension is licensed under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft