HTML2Svelte

Convert HTML to Svelte Components

This tool instantly converts HTML into a Svelte Components. Paste a HTML file on the left and the equivalent Svelte Components will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!

Make sure that you add comp_ to the start of all of the classes you want to convert to Svelte Components.

© 2023 drbhView on GitHub

HTML Svelte