Spire.Doc for JavaScript

  • Overview

Over 1,000,000 Developers Are Already Using
Our Libraries

A Powerful JavaScript
Word library

Spire.Doc for JavaScript enables users to create, read, write, convert, and compare Word documents with optimized speed and accuracy.


Spire.Doc for JavaScript is an independent Word API that allows developers to integrate Microsoft Word document creation capabilities into their JavaScript applications, without installing Microsoft Word on either development or target systems.


It is a trustworthy MS Word API for JavaScript that can apply multiple Word document processing tasks. Spire.Doc for JavaScript supports Word 97-2003 /2007/2010/2013/2016/2019, and it has the capability of converting them to other common formats, like XML, RTF, TXT, EMF, HTML, ODT, Markdown, and vice versa. Moreover, it supports converting Word Doc/Docx to PDF, images (PNG, JPEG), PostScript, OFD, XPS, EPUB, PCL (Printer Command Language), and RTF to PDF/HTML, HTML to PDF/Image, Markdown to PDF in high quality.

  • Convert Word to PDF

    Convert

  • Compare Documents

    Compare

  • Extract Text and Images

    Extract

  • Add a Watermark

    Watermark

  • Replace Text

    Replace

  • Find and Highlight

    Highlight

  • Headers and Footers

    Header

  • Create a Form

    Form

Convert Word to PDF

PDF files are preferred over Word documents because they are safe, simple to open, and easy to manage on any device. PDF is the most popular file format that users would convert Word to.

Compare Documents

If you receive two nearly-identical Word documents, the ideal way to determine whether there are any differences between them is to compare the two documents.

Extract Text and Images

When you just need to get the information in a Word document regardless of its format and structure, you can simply extract the text and images from the document.

Add a Watermark

A watermark is used to declare confidentiality, copyright, or other attributes of the document, or as a decoration to make the document more attractive. You can add either text or image watermarks to Word documents.

Replace Text

The ability to replace existing text (or placeholders) in a Word document makes it possible for programmers to quickly generate Word reports or documents based on a template.

Find and Highlight

If you want to emphasize some words, you can find and highlight them in a bright color so that the readers could catch them easily.

Headers and Footers

Headers and footers are useful for including information that you want to appear on every page of a document, such as company logo or page number.

Create a Form

Form fields make it easier to collect information. Users can enter information by choosing an item from a drop-down list, inserting text in a combo box, or checking a check box.

JAVASCRIPT

Standalone JavaScript API

100% independent JavaScript Word class library which doesn’t require MS Office to be installed on systems.

VERSION

  • Word 97-03
  • Word 2007
  • Word 2010
  • Word 2013
  • Word 2016
  • Word 2019
  • Protect, Encrypt,
    Decrypt

  • Create, Modify, Remove
    hyperlink

  • Insert, Edit, remove
    bookmark

  • Find Replace Highlight

  • Merge and Split Word
    document

  • Header and Footer

  • Insert, Reply, remove
    comment

  • Create & Update Table

  • Image and Shape

Convert File Documents with High Quality

PDF
XPS
EPUB
PCL
Image
ODT
XML
HTML
RTF
TXT
PNG
BMP
JPEG
EMF
Doc/Docx

MAIN FUNCTION

100% Standalone JavaScript API - No Microsoft Office Automation Needed

Spire.Doc for JavaScript is a completely independent JavaScript Word class library that doesn't require Microsoft Office installed on systems.
Spire.Doc for JavaScript offers enhanced speed, stability, and scalability for generating Word documents, making it a more efficient alternative to traditional Microsoft Office Automation methods.

High Quality in File Conversion

With Spire.Doc for JavaScript, users can save Word Doc/Docx to stream, save as web response and convert Word Doc/Docx to XML, RTF, TXT, EMF, HTML, ODT, Markdown and vice versa.
It also supports converting Word Doc/Docx to PDF, images (PNG, JPEG), PostScript, OFD, XPS, EPUB, PCL (Printer Command Language) and RTF to PDF/HTML, convert HTML to PDF/image, convert Markdown to PDF.

Full Support for Advanced Word Document Features

Spire.Doc for JavaScript is frequently used to generate Word documents dynamically from scratch.
Almost all Word document elements are supported, including pages, sections, headers, footers, footnotes, paragraphs, lists, tables, text, bookmarks, comments, images, background settings and so on.
Furthermore, drawing objects including shapes, textbooks, images, and OLE objects are available too.

Effortless Processing of Existing Word Documents

Spire.Doc for JavaScript helps developers process existing Word documents with ease.
It offers search and replace, alignment, page breaks, field filling, document concatenation, document copying, and more.

High Performance

  • ● High-quality conversion.
  • ● High processing speed.

More Technical Features

By using Spire.Doc for JavaScript, developers can build versatile applications to create and manipulate Word documents in a 64-bit Node.js environment.

FrameWorks

JavaScript
JavaScript
JavaScript
JavaScript

GET STARTED

Free Trials for All Progress Solutions