⚡PDF to HTML Converter - Fast & Responsive avatar

⚡PDF to HTML Converter - Fast & Responsive

Deprecated
Go to Store
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
⚡PDF to HTML Converter - Fast & Responsive

⚡PDF to HTML Converter - Fast & Responsive

microtrica/pdf-to-html

⚡Effortlessly transform ➡️ your PDF documents 📑 into responsive, mobile-friendly 🌐HTML pages. Boost web performance with perfect conversions and seamless browser compatibility.

You can access the ⚡PDF to HTML Converter - Fast & Responsive programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "1.0",
5    "x-build-id": "4OeYPoM2JtEhBC0WM"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/microtrica~pdf-to-html/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-microtrica-pdf-to-html",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/microtrica~pdf-to-html/runs": {
50      "post": {
51        "operationId": "runs-sync-microtrica-pdf-to-html",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/microtrica~pdf-to-html/run-sync": {
93      "post": {
94        "operationId": "run-sync-microtrica-pdf-to-html",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "startUrls"
135        ],
136        "properties": {
137          "startUrls": {
138            "title": "🔗 PDF URLs",
139            "type": "array",
140            "description": "Provide the URLs to the PDF files you wish to convert.",
141            "items": {
142              "type": "object",
143              "required": [
144                "url"
145              ],
146              "properties": {
147                "url": {
148                  "type": "string",
149                  "title": "URL of a web page",
150                  "format": "uri"
151                }
152              }
153            }
154          },
155          "maxRequestsPerCrawl": {
156            "title": "📈 Max Requests per Crawl",
157            "type": "integer",
158            "description": "Maximum number of requests that can be made by the crawler.",
159            "default": 2
160          },
161          "f": {
162            "title": "📃 First Page to Process",
163            "minimum": 1,
164            "type": "integer",
165            "description": "Specify the first page to process. If not provided, the default is 1.",
166            "default": 1
167          },
168          "l": {
169            "title": "📜 Last Page to Process",
170            "minimum": 1,
171            "type": "integer",
172            "description": "Specify the last page to process. If not provided, the entire document will be processed."
173          },
174          "zoom": {
175            "title": "🔍 Zoom Factor",
176            "type": "string",
177            "description": "Specify the zoom factor. By default, the pages will be rendered at 72DPI if not specified.",
178            "default": "1.0"
179          },
180          "fitWidth": {
181            "title": "↔️ Fit Page Width",
182            "type": "integer",
183            "description": "Maximum width of the page (in pixels)."
184          },
185          "fitHeight": {
186            "title": "↕️ Fit Page Height",
187            "type": "integer",
188            "description": "Maximum height of the page (in pixels)."
189          },
190          "dpi": {
191            "title": "📏 DPI (Dots Per Inch)",
192            "type": "integer",
193            "description": "Set the DPI for the conversion process. Default is 144."
194          },
195          "useCropbox": {
196            "title": "✂️ Use CropBox",
197            "type": "boolean",
198            "description": "Use CropBox instead of MediaBox for output (default: true).",
199            "default": true
200          },
201          "processNonText": {
202            "title": "🖼️ Process Non-Text Elements",
203            "type": "boolean",
204            "description": "Process non-text elements (like images) during the conversion (default: true).",
205            "default": true
206          },
207          "processOutline": {
208            "title": "📝 Process Outline",
209            "type": "boolean",
210            "description": "Whether to include the PDF's outline in the generated HTML (default: true).",
211            "default": true
212          },
213          "printing": {
214            "title": "🖨️ Enable Printing Support",
215            "type": "boolean",
216            "description": "Enable support for printing. Disabling it may reduce CSS size (default: true).",
217            "default": true
218          },
219          "fallback": {
220            "title": "🔄 Fallback Mode",
221            "type": "boolean",
222            "description": "Enable fallback mode for better accuracy and browser compatibility (default: false). This option may increase the file size."
223          },
224          "embedExternalFont": {
225            "title": "🔗 Embed External Fonts",
226            "type": "boolean",
227            "description": "Embed fonts that are not embedded in the original PDF (default: true).",
228            "default": true
229          },
230          "fontFormat": {
231            "title": "💾 Font Format",
232            "enum": [
233              "woff",
234              "ttf",
235              "otf"
236            ],
237            "type": "string",
238            "description": "Choose the format for extracted fonts from the PDF (default: woff).",
239            "default": "woff"
240          },
241          "heps": {
242            "title": "↔️ Maximum Horizontal Offset",
243            "type": "integer",
244            "description": "Specify the maximum horizontal offset in pixels (default: 1).",
245            "default": 1
246          },
247          "veps": {
248            "title": "↕️ Maximum Vertical Offset",
249            "type": "integer",
250            "description": "Specify the maximum vertical offset in pixels (default: 1).",
251            "default": 1
252          },
253          "spaceThreshold": {
254            "title": "📏 Space Threshold",
255            "type": "string",
256            "description": "Insert a space between letters when the distance exceeds the specified threshold (default: 0.125).",
257            "default": "0.125"
258          },
259          "fontSizeMultiplier": {
260            "title": "🔠 Font Size Multiplier",
261            "type": "string",
262            "description": "Adjust the font size multiplier to improve rendering accuracy (default: 4.0).",
263            "default": "4.0"
264          },
265          "spaceAsOffset": {
266            "title": "🕳️ Treat Space as Offset",
267            "type": "boolean",
268            "description": "Treat spaces as offsets for better optimization (default: false).",
269            "default": false
270          },
271          "tounicode": {
272            "title": "🔡 ToUnicode Map",
273            "enum": [
274              "-1",
275              "0",
276              "1"
277            ],
278            "type": "string",
279            "description": "Specify how to apply the ToUnicode map (-1 for custom, 0 for balance, 1 for always). Default is 0."
280          },
281          "optimizeText": {
282            "title": "⚡ Optimize Text",
283            "type": "boolean",
284            "description": "Reduce the number of HTML elements used for text (default: false).",
285            "default": false
286          },
287          "bgFormat": {
288            "title": "🖼️ Background Image Format",
289            "enum": [
290              "png",
291              "jpg",
292              "svg"
293            ],
294            "type": "string",
295            "description": "Specify the background image format (default: png).",
296            "default": "png"
297          },
298          "ownerPassword": {
299            "title": "🔑 Owner Password",
300            "type": "string",
301            "description": "Specify the owner password for the PDF, if protected."
302          },
303          "userPassword": {
304            "title": "🔐 User Password",
305            "type": "string",
306            "description": "Specify the user password for the PDF, if protected."
307          }
308        }
309      },
310      "runsResponseSchema": {
311        "type": "object",
312        "properties": {
313          "data": {
314            "type": "object",
315            "properties": {
316              "id": {
317                "type": "string"
318              },
319              "actId": {
320                "type": "string"
321              },
322              "userId": {
323                "type": "string"
324              },
325              "startedAt": {
326                "type": "string",
327                "format": "date-time",
328                "example": "2025-01-08T00:00:00.000Z"
329              },
330              "finishedAt": {
331                "type": "string",
332                "format": "date-time",
333                "example": "2025-01-08T00:00:00.000Z"
334              },
335              "status": {
336                "type": "string",
337                "example": "READY"
338              },
339              "meta": {
340                "type": "object",
341                "properties": {
342                  "origin": {
343                    "type": "string",
344                    "example": "API"
345                  },
346                  "userAgent": {
347                    "type": "string"
348                  }
349                }
350              },
351              "stats": {
352                "type": "object",
353                "properties": {
354                  "inputBodyLen": {
355                    "type": "integer",
356                    "example": 2000
357                  },
358                  "rebootCount": {
359                    "type": "integer",
360                    "example": 0
361                  },
362                  "restartCount": {
363                    "type": "integer",
364                    "example": 0
365                  },
366                  "resurrectCount": {
367                    "type": "integer",
368                    "example": 0
369                  },
370                  "computeUnits": {
371                    "type": "integer",
372                    "example": 0
373                  }
374                }
375              },
376              "options": {
377                "type": "object",
378                "properties": {
379                  "build": {
380                    "type": "string",
381                    "example": "latest"
382                  },
383                  "timeoutSecs": {
384                    "type": "integer",
385                    "example": 300
386                  },
387                  "memoryMbytes": {
388                    "type": "integer",
389                    "example": 1024
390                  },
391                  "diskMbytes": {
392                    "type": "integer",
393                    "example": 2048
394                  }
395                }
396              },
397              "buildId": {
398                "type": "string"
399              },
400              "defaultKeyValueStoreId": {
401                "type": "string"
402              },
403              "defaultDatasetId": {
404                "type": "string"
405              },
406              "defaultRequestQueueId": {
407                "type": "string"
408              },
409              "buildNumber": {
410                "type": "string",
411                "example": "1.0.0"
412              },
413              "containerUrl": {
414                "type": "string"
415              },
416              "usage": {
417                "type": "object",
418                "properties": {
419                  "ACTOR_COMPUTE_UNITS": {
420                    "type": "integer",
421                    "example": 0
422                  },
423                  "DATASET_READS": {
424                    "type": "integer",
425                    "example": 0
426                  },
427                  "DATASET_WRITES": {
428                    "type": "integer",
429                    "example": 0
430                  },
431                  "KEY_VALUE_STORE_READS": {
432                    "type": "integer",
433                    "example": 0
434                  },
435                  "KEY_VALUE_STORE_WRITES": {
436                    "type": "integer",
437                    "example": 1
438                  },
439                  "KEY_VALUE_STORE_LISTS": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "REQUEST_QUEUE_READS": {
444                    "type": "integer",
445                    "example": 0
446                  },
447                  "REQUEST_QUEUE_WRITES": {
448                    "type": "integer",
449                    "example": 0
450                  },
451                  "DATA_TRANSFER_INTERNAL_GBYTES": {
452                    "type": "integer",
453                    "example": 0
454                  },
455                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
456                    "type": "integer",
457                    "example": 0
458                  },
459                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
460                    "type": "integer",
461                    "example": 0
462                  },
463                  "PROXY_SERPS": {
464                    "type": "integer",
465                    "example": 0
466                  }
467                }
468              },
469              "usageTotalUsd": {
470                "type": "number",
471                "example": 0.00005
472              },
473              "usageUsd": {
474                "type": "object",
475                "properties": {
476                  "ACTOR_COMPUTE_UNITS": {
477                    "type": "integer",
478                    "example": 0
479                  },
480                  "DATASET_READS": {
481                    "type": "integer",
482                    "example": 0
483                  },
484                  "DATASET_WRITES": {
485                    "type": "integer",
486                    "example": 0
487                  },
488                  "KEY_VALUE_STORE_READS": {
489                    "type": "integer",
490                    "example": 0
491                  },
492                  "KEY_VALUE_STORE_WRITES": {
493                    "type": "number",
494                    "example": 0.00005
495                  },
496                  "KEY_VALUE_STORE_LISTS": {
497                    "type": "integer",
498                    "example": 0
499                  },
500                  "REQUEST_QUEUE_READS": {
501                    "type": "integer",
502                    "example": 0
503                  },
504                  "REQUEST_QUEUE_WRITES": {
505                    "type": "integer",
506                    "example": 0
507                  },
508                  "DATA_TRANSFER_INTERNAL_GBYTES": {
509                    "type": "integer",
510                    "example": 0
511                  },
512                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
513                    "type": "integer",
514                    "example": 0
515                  },
516                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
517                    "type": "integer",
518                    "example": 0
519                  },
520                  "PROXY_SERPS": {
521                    "type": "integer",
522                    "example": 0
523                  }
524                }
525              }
526            }
527          }
528        }
529      }
530    }
531  }
532}

⚡PDF to HTML Converter - Fast & Responsive OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for ⚡PDF to HTML Converter - Fast & Responsive from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community
Categories