Convert HTML/SGV to JSX easily and conveniently without online tools. DevUtils.app allows you to quickly convert HTML/SGV to JSX right in your macOS without any internet connection.
It supports syntax highlighting and code folding.
You can convert HTML/SGV to JSX string from anywhere in your macOS (terminal, in email, web browser,...). Activate the app by:
- Press ⌃⌥⌘Space (Or your own customized hotkey, up to you)
- Click to icon in the status bar
Your input should be a valid HTML document.
Enter your string in the input textbox. If you already have the string in your clipboard, just click the "Clipboard" button, and the tool will use the content in your clipboard as input.
The converted JSX string will be displayed in the right texbox. You can change the format based on your need:
DevUtils can also help you with a lot of other tasks: Format JSON string, decode Base64, debug your RegExp, compare text diff, and many more. Click here to learn more and give it a try!