Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 1.81 KB

README.md

File metadata and controls

78 lines (53 loc) · 1.81 KB

HTML to JSON Converter 🔄

A web-based tool to convert HTML into JSON format with various parsing options.

🌎 Live Website

Visit our free live converter: HTML to JSON Converter

Try it out now! Convert your HTML to JSON with just a few clicks.

🌟 Features

  • 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

🚀 Getting Started

Prerequisites

  • .NET 6.0 SDK or later
  • Visual Studio 2022 or Visual Studio Code

Installation

  1. Clone the repository git clone https://github.com/yourusername/html-to-json-converter.git
  2. Open the solution in Visual Studio or the folder in VS Code
  3. Restore NuGet packages
  4. Build the solution

Running the Application

  • In Visual Studio: Press F5 or click "Run"
  • In VS Code: Use the integrated terminal to run dotnet run

🖥️ Usage

  1. Enter your HTML in the input box
  2. Select your desired parsing options
  3. Click "Convert"
  4. View the JSON output in the result box

🛠️ Technologies Used

  • ASP.NET Core MVC
  • C#
  • HTML/CSS
  • JavaScript
  • Bootstrap

📚 Libraries

  • AngleSharp: For HTML parsing
  • Newtonsoft.Json: For JSON manipulation

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

📝 License

This project is MIT licensed.

👏 Acknowledgements