Examples of using the DocumentAlchemy API in various programming languages.
JavaScript Python PHP Shell Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
python add office-to-pdf example to python README Mar 25, 2016


Sample Code for the Document Alchemy API

Document Alchemy provides an easy-to-use API for generating, transforming, converting and processing documents in various formats, including:

  • MS Office documents such as Microsoft Word, Excel and PowerPoint.
  • Open source office documents such Apache OpenOffice Writer, Calc and Impress.
  • Adobe's Portable Document Format (PDF)
  • HTML, Markdown and other text formats
  • Images such as PNG, JPEG, GIF and others.

More information, online demonstrations and interactive API documentation can be found at https://documentalchemy.com.


This repository contains examples of using the Document Alchemy API from several programming languages.

Note that most of these examples require a Document Alchemy API key. You can get an API key immediately and for free by signing up for Document Alchemy.

More examples are coming soon. Please contact us if you have any questions, suggestions or requests.


Unless otherwise noted, the sample code and related documentation found in this repository are made available under an MIT License.

For more information see the LICENSE.txt file in the root of this repository.

Contributions Welcome

We're happy to accept reasonable pull requests or link to "unofficial" Document Alchemy client libraries.

Please if you have any questions, suggestions or requests.

You may use the GitHub issue tracking system to report issues with this sample code. However GitHub is not an appropriate or effective way to request support or report issues with Document Alchemy itself.

For Document Alchemy support, use the contact us form or email address on our website.