Questions tagged [convertapi]

ConvertAPI is a high-performance 200+ file format conversion and manipulation REST API service. It can be integrated into any application or platform using either our SDK libraries or plain HTTP requests. Use this tag for questions related to the ConvertAPI service. Please include all relevant tags on your question, e.g., programming language, file formats, etc.

ConvertAPI is a fast and fault-tolerant web service used by software developers to convert between MS Office, Open Office, and iWorks stack, as well as HTML documents, images, manipulate PDF files, and numerous other formats. Being a RESTful API, the service can be used with any programming language — C#, Java, Ruby, Python, PHP, JavaScript, Node.js, Kotlin, Go, etc.

ConvertAPI boasts 99.99% uptime since its launch in 2011. Such robustness is achieved due to the globally distributed, highly available platform, which can scale up or down to effectively process any amount of traffic. ConvertAPI is fully GDPR compliant.

You can find all supported file formats and conversions here: https://www.convertapi.com/doc/file-formats.

ConvertAPI provides official API libraries for all your favorite languages and frameworks:

We encourage you to build custom conversion workflows for multiple-stage file processing. This best-practice-driven REST API approach improves performance and gives you full control over file processing at any stage of the flow. You can also create ConvertAPI workflows on Zapier. Feel free to post Zapier related issues on SO too.

80 questions
0
votes
1 answer

ConvertAPI Response Object formatting

I am currently using Power Automate in order to transform DOCX documents into HTML documents. The integration with the convertAPI came as easy as possible, but I wonder if there is a way to receive the response of the convertAPI and have the CSS…
jimas13
  • 597
  • 5
  • 19
0
votes
1 answer

_path2.default.basename is not a function using convertapi in angular

I am trying to integrate the convertapi in my Angular 11 application using the following documentation https://www.npmjs.com/package/convertapi I need to convert the pdf's into images, When I try to upload a file, I get _path2.default.basename is…
Adnan Sheikh
  • 760
  • 3
  • 13
  • 27
0
votes
2 answers

ConvertApi: corrupted file from the API response

I have a local file default.xlsx. I send it to https://v2.convertapi.com. I take the content from the response and I try to save it in a default.pdf. I have no error message. When I try to open the created PDF, it looks corrupted. import…
Utopion
  • 935
  • 1
  • 4
  • 15
0
votes
1 answer

Convertapi in AWS lambda?

I need to deploy convertapi on an AWS Lambda. If I try import convertapi with python, it doesn't work because I need to import it. In AWS, we use local folder or ARN to deploy libraries. Is there an available ARN for convertapi like in…
Utopion
  • 935
  • 1
  • 4
  • 15
0
votes
1 answer

ConvertAPI: Convert HTML to DOCX doesn't work with grid css

I want to convert HTML to DOCX have a text with 2 columns inside by using https://www.convertapi.com/ But when I use "display: grid" in HTML file, it doesn't work in DOCX file. I tried with "display: flex", but it doesn't work too. Does it have…
Toàn Lê
  • 1
  • 1
0
votes
1 answer

ConvertAPI : Upload doc as stream to convert to PDF returns garbled data

I have a code which gets byte array from my database and sends it to convertAPI to convert it as PDF. When I download the doc as is it works fine (so no issue with the byte[] or document), but when I send the stream to ConvertAPI the resultant PDF…
Karthik Ganesan
  • 4,142
  • 2
  • 26
  • 42
0
votes
1 answer

Cant Merge Pdf's with ConvertApi Rest api Flutter

I made the same requests for converting DOCX, excel.ppt to PDF they worked. But Merge PDF does not work. I select PDF's with file picker than I send request to convertApi . But ConvertApi returns my original pdf not merged pdf. var url =…
0
votes
0 answers

convertApi.ConvertAsync is not returning converted image

I am trying to convert vsd/vsdx to png file, it was working fine until today. here is my code. please help. code stuck on convertApi.ConvertAsync line, it doesn't throw any error. but it just doesn't return anything. public async void…
0
votes
2 answers

Function call inside loop gets called after the loop ends

So I use this API that helps me turn a .docx file into a .pdf. I placed the code that converts the file into a function. : function conv(){ convertapi.convert('pdf', { File: final_path }) .then(function(result) { // get converted file url …
Alec
  • 73
  • 2
  • 7
0
votes
2 answers

How I can process files in a directory all at one time?

I have a directory with 100 of xlxs files. Now what I want to do is to convert all these files into PDF all at one time or some at one time. The conversion process is working fine at the moment with foreach and cron. But it can process or convert…
Amit Sharma
  • 1,775
  • 3
  • 11
  • 20
0
votes
1 answer

Background image not appearing in converted html to pdf

I am having issues getting a background image to work using your conversion api. Eg of the template file styling: