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 standard unit tests. To run tests:
npm testThe previous vanilla JavaScript implementation is preserved in the /legacy folder and remains accessible via the /legacy/index.html path in production.