A modern, fast, and secure toolkit for HTML manipulation built with React and Vite. Experience a clean, professional interface with powerful built-in tools.
- Strip HTML Tags: Instantly extract plain text from complex HTML content.
- Encode / Decode Entities: Easily convert special characters to HTML entities and back.
- Diff Viewer: Compare two blocks of text or code line-by-line.
- Formatter: Clean up and beautify messy HTML code.
- Node.js (v18 or higher recommended)
- npm or yarn
- Clone the repository
- Install dependencies:
npm install
Run the local development server:
npm run devTo structure the application for production, run:
npm run buildThe output will be generated in the dist directory, fully optimized and ready to deploy to GitHub Pages.
The application is pre-configured for GitHub pages deployment (base: '/DeHTML/' in vite.config.js).
- Ensure the
distfolder is correctly generated. - Push your code to your repository.
- Configure your GitHub Pages settings to use GitHub Actions as the source.
This project uses Vitest and React Testing Library for unit tests and V8 coverage reporting.
Run the tests:
npm testRun the tests with coverage:
npm run test:coverageEvery CI run publishes the coverage report as a downloadable artifact and displays Statements, Branches, Functions, and Lines coverage in the GitHub Actions job summary. Successful main runs also update the coverage badge above automatically.
The previous vanilla JavaScript implementation is preserved in the /legacy folder and remains accessible via the /legacy/index.html path in production.