PDFKit
Merge PDF
Split PDF
Compress PDF
Convert PDF
All PDF Tools
Buy Pro
🔒 100% Private
0/50
Back to Dashboard
HTML to DOCX
Convert HTML code to Word documents
Code Editor
Upload File
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My Document</title> <style> body { font-family: 'Arial', sans-serif; max-width: 800px; margin: 0 auto; padding: 40px; color: #333; } h1 { color: #2563eb; border-bottom: 2px solid #2563eb; padding-bottom: 10px; } h2 { color: #4f46e5; margin-top: 30px; } p { line-height: 1.8; margin: 15px 0; } .highlight { background: #f0f9ff; padding: 20px; border-radius: 8px; border-left: 4px solid #0ea5e9; } ul { margin: 20px 0; padding-left: 20px; } li { margin: 10px 0; } .footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e5e7eb; text-align: center; font-size: 0.875rem; color: #6b7280; } </style> </head> <body> <h1>📄 Document Title</h1> <p>This is a sample HTML document converted to DOCX. Edit this content or paste your own HTML code!</p> <h2>Features</h2> <ul> <li>✅ Live preview as you type</li> <li>✅ Basic CSS support</li> <li>✅ Tables and Lists</li> <li>✅ 100% client-side processing</li> </ul> <div class="highlight"> <strong>💡 Pro Tip:</strong> Simple HTML structures work best for DOCX conversion. Complex CSS layouts might not be perfectly preserved. </div> <h2>Privacy First</h2> <p>All conversion happens directly in your browser. Your content never leaves your device.</p> <div class="footer"> Generated with PDFKit </div> </body> </html>
Convert to DOCX
Live Preview
🔒 Preview rendered locally • No data sent to any server