A web-based tool to convert HTML into JSON format with various parsing options.
Visit our free live converter: HTML to JSON Converter
Try it out now! Convert your HTML to JSON with just a few clicks.
- Convert HTML to JSON with multiple parsing modes:
- Generic
- Table
- JSON-LD
- Customizable conversion options:
- Attribute prefix
- Text property name
- New line conversion
- Indentation
- JSON unescaping
- Word trimming
- Table conversion
- .NET 6.0 SDK or later
- Visual Studio 2022 or Visual Studio Code
- Clone the repository
git clone https://github.com/yourusername/html-to-json-converter.git
- Open the solution in Visual Studio or the folder in VS Code
- Restore NuGet packages
- Build the solution
- In Visual Studio: Press F5 or click "Run"
- In VS Code: Use the integrated terminal to run
dotnet run
- Enter your HTML in the input box
- Select your desired parsing options
- Click "Convert"
- View the JSON output in the result box
- ASP.NET Core MVC
- C#
- HTML/CSS
- JavaScript
- Bootstrap
- AngleSharp: For HTML parsing
- Newtonsoft.Json: For JSON manipulation
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
This project is MIT licensed.