Skip to content

Docx2JSX es una herramienta web para convertir archivos `.docx` (Microsoft Word) en código HTML/JSX que puede integrarse fácilmente en proyectos React.

Notifications You must be signed in to change notification settings

angelyrg/Docx2JSX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docx2JSX

🎯 Docx2JSX is a web tool to convert .docx (Microsoft Word) files into clean HTML/JSX code that can be easily integrated into React projects.

It’s ideal for importing structured content such as Terms & Conditions, Privacy Policies, contracts, documentation, manuals, and more — while preserving the basic formatting and structure.


✨ Features

  • ✅ Support for .docx files created in Microsoft Word.
  • ✅ Clean conversion powered by Mammoth.js.
  • ✅ Instant preview of the converted content.
  • ✅ One-click button to copy the generated code.
  • ✅ Toggle between plain output and formatted (indented) code.
  • ✅ Simple UI, lightweight, with no heavy dependencies.

🚀 Run locally

1. Clone the repository

git clone https://github.com/angelyrg/Docx2JSX
cd docx2jsx

2. Install dependencies

npm install

3. Start the app

npm run dev

Open http://localhost:5173 in your browser.


🧰 Technologies used



🧪 Live demo

🔗 Live demo


🙌 Contributions

Contributions are welcome! You can open issues, suggestions, or pull requests to help improve this tool.


✍ Autor

Created by Angel Yaranga


📌 Note

This tool does not include advanced styles or complex formatting (colors, margins, fonts). It focuses on a clean structural conversion, making it ideal for legal documents and other static content.

About

Docx2JSX es una herramienta web para convertir archivos `.docx` (Microsoft Word) en código HTML/JSX que puede integrarse fácilmente en proyectos React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published