VS Code Extensions
Office Editor (Docx, Xlsx)

Office Editor (Docx, Xlsx)

by shubhamprajapati1202

Powerful, fast, and secure editor for Word (.docx) and Excel (.xlsx) files directly inside VS Code.

Downloads

20,291

Rating

5.0 / 5 (1)

Version

1.0.1

Last updated

May 02, 2026

The most powerful, fast, and secure way to edit your Microsoft Office files directly inside VS Code. No need to open external applications or switch windows.

✨ Features

📄 Word (.docx) Editor

  • Rich Text Formatting: Bold, Italic, Underline, and multiple Font Families (Arial, Serif, Monospace).
  • Professional Styles: One-click Title, Heading, and Sub-heading formats.
  • Advanced Layout: Full support for Bullet Lists, Numbered Lists, and Text Alignment (Left, Center, Right, Justify).
  • Colors & Highlighting: Fully customizable text color, background highlight, and Page Background Color for personalized themes.
  • Multimedia: Insert and resize images directly in your documents.
  • Hyperlinks: Connect your text to the web with the easy-to-use link tool.
  • Find & Replace: Quickly search and modify content within large documents.
  • Full History: Every action (formatting, images, links) is tracked by a robust Undo/Redo system (Ctrl+Z / Ctrl+Y).

📊 Excel (.xlsx) Editor

  • High Performance: Powered by Tabulator, handling large spreadsheets with 10,000+ rows with ease.
  • Multi-Sheet Support: Navigate between multiple sheets with tab navigation.
  • Seamless Integration: Theme-aware interface that matches your VS Code colors (Light, Dark, High Contrast).
  • Easy Editing: Direct cell editing with automatic save support.
  • Developer View: Toggle JSON data view to inspect raw spreadsheet data instantly.

🚀 How to Use

  1. Install the extension from the VS Code Marketplace.
  2. Right-click any .docx or .xlsx file in the Explorer.
  3. Select Open With... and choose Office Editor.
  4. Start editing — press Ctrl+S to save.

🛡️ Security & Privacy

  • 100% Local: No data is ever sent to external servers. All file conversions happen entirely on your machine.
  • CSP Compliant: Follows strict VS Code Content Security Policy protocols.
  • Sanitized: All content is sanitized with DOMPurify for maximum security.

⚡ Performance

  • Optimized for large files with debounced updates
  • Virtualized rendering for spreadsheets with 10,000+ rows
  • Lightweight — minimal memory footprint

📋 Known Limitations (v1)

  • Complex DOCX formatting (headers/footers/macros) may be simplified on save.
  • XLSX formulas and advanced cell styles (colors/borders) are not preserved.
  • Search is limited to the active document view.

📄 License

MIT License — Free and open source.


Developed with ❤️ by Shubham Prajapati — Sr. Software Engineer

Related extensions