1. DEMO
API Documents - GuGuData | Production-Ready APIs Built for Developers
  • GuGuData API documents
  • Metadata
    • DEMO
      • [DEMO] Global QS World University Rankings
      • [DEMO] Global University
      • [DEMO] Chinese Poem
      • [DEMO] Global QS World University Rankings
      • [DEMO] Stock US Symbols
      • [DEMO] Stock HK Symbols
    • Global QS World University Rankings
      GET
    • Global University
      GET
    • Chinese Poem
      GET
    • Global QS World University Rankings
      GET
    • Stock US Symbols
      GET
    • Stock HK Symbols
      GET
  • Website Tools
    • DEMO
      • [DEMO] Webpage Readable Content Extraction
      • [DEMO] Domain SSL Certificate Information Parsing
      • [DEMO] Domain DNS Information Query
      • [DEMO] Query Website Favicon and Title
      • [DEMO] Format International Phone
      • [DEMO] URL to static HTML
      • [DEMO] URL to Image
      • [DEMO] URL to Markdown
      • [DEMO] Get URL links
      • [DEMO] Website Snapshot
      • [DEMO] Domain Whois
      • [DEMO] IP Address
      • [DEMO] Article Extract
      • [DEMO] Geographic Coordinate System Converter
      • [DEMO] Extract Structured JSON from Webpage
      • [DEMO] Short Link API
    • Webpage Readable Content Extraction
    • Domain SSL Certificate Information Parsing
    • Domain DNS Information Query
    • Query Website Favicon and Title
    • Format International Phone
    • URL to static HTML
    • URL to Image
    • URL to Markdown
    • Get URL links
    • Website Snapshot
    • Domain Whois
    • IP Address
    • Article Extract
    • Geographic Coordinate System Converter
    • Extract Structured JSON from Webpage
    • Short Link API
  • Image Recognition
    • DEMO
      • [DEMO] HTML to PDF
        GET
      • [DEMO] Image OCR
        GET
      • [DEMO] PDF to Format
        GET
      • [DEMO] PDF Splitting
        GET
      • [DEMO] Markdown to PDF
        GET
      • [DEMO] PPT to Images
        GET
      • [DEMO] PDF to HTML
        GET
      • [DEMO] PDF Summary
        GET
      • [DEMO] Image Compress
        GET
      • [DEMO] Word to HTML
        GET
      • [DEMO] Convert HTML to Word
        GET
      • [DEMO] Convert PPT to PDF
        GET
    • HTML to PDF
      POST
    • Image OCR
      POST
    • PDF to Format
      POST
    • PDF Splitting
      POST
    • Markdown to PDF
      POST
    • PPT to Images
      POST
    • PDF to HTML
      POST
    • PDF Summary
      POST
    • Image Compress
      POST
    • Word to HTML
      POST
    • Convert HTML to Word
      POST
    • Convert PPT to PDF
      POST
  • QRcode and Barcode
    • DEMO
      • [DEMO] QR Code
      • [DEMO] Wifi QR Code
      • [DEMO] Bar Code
      • [DEMO] Decode QR Code from Image
    • QR Code
    • Wifi QR Code
    • Bar Code
    • Decode QR Code from Image
  • Text Tools
    • DEMO
      • [DEMO] Simplified and Traditional Chinese Converter
      • [DEMO] Text Similarity Calculator
      • [DEMO] Detect Text Language
      • [DEMO] ISBN Book Metadata Lookup
    • Simplified and Traditional Chinese Converter
    • Text Similarity Calculator
    • Detect Text Language
    • ISBN Book Metadata Lookup
  • healthcheck
    GET
  1. DEMO

[DEMO] Convert HTML to Word

GET
https://api.gugudata.io/v1/imagerecognition/html2word/demo
Last modified:2026-05-14 10:39:41
Convert HTML to Word
Convert HTML content or a webpage URL into a Word document that is ready to download, archive, or share.
Method: POST
Path: /v1/imagerecognition/html2word
Demo: https://api.gugudata.io/v1/imagerecognition/html2word/demo
OpenAPI: https://gugudata.io/assets/openapi/gugudata.openapi.3.1.json
Request Parameters:
appkey (string, required): Application key used for request authentication. Supply the value as a query parameter, form field, or multipart field according to the request content type.
content (string, required): Primary text content processed by the endpoint.
type (string, required): Endpoint-specific type selector. Refer to the endpoint description for supported values.
filename (string, optional): Optional output file name ending in .docx. Send this parameter as multipart form data.
Response Fields:
wordPath (string, required): Download URL of the generated Word document
HTTP Status Codes:
200: Request processed successfully. Some endpoints expose a separate application-level status field in the response body, such as dataStatus.statusCode.
400: Invalid request parameters or request format. Check required fields, data types, and request body format.
401: Missing or unknown application key. Provide a valid appkey with the request.
403: The application key is recognized but access is not allowed. The key may be expired, inactive, or not permitted for the requested API.
429: Request rate or trial usage limit exceeded. Reduce concurrency or retry after the limit window resets.
500: Internal service error. Retry later or contact support if the error persists.
503: Upstream service unavailable. Retry later; the requested upstream dependency is temporarily unavailable.
Business Status Codes:
200 Normal return: Word document successfully generated
400 Parameter error: Invalid or missing content/type parameters
429 Request frequency limited: Cannot exceed 100 requests per second
403 Account in arrears: Payment required to continue using the service
402 APPKEY error: Please check whether the APPKEY passed is obtained from the developer center
500 API response error: Internal server error during HTML to Word conversion
Key Features:
Convert raw HTML content into a Word document.
Support direct conversion from webpage URLs.
Provide a downloadable .docx file for editing and sharing.
Useful for reports, publishing workflows, archives, and business documentation.
Allow custom output names for better file organization.
Details:
https://gugudata.io/details/html2word

Request

None

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gugudata.io/v1/imagerecognition/html2word/demo'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{}
Modified at 2026-05-14 10:39:41
Previous
[DEMO] Word to HTML
Next
[DEMO] Convert PPT to PDF
Built with