You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Convert document to text

file-conversion/doc-to-text@1.0.0
1 provider

Convert Document to Text

Convert documents in various formats (pdf, doc, rtf) to plain text.

Input
File Name
Content
Result
Text

1.Choose a provider

2.Use ConvertDocumentToText with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

fileName
File name of the document
content
Binary content of the document

Example

Result (object)

text
The document contents as plain text.

Example

Implementation details

Provider
mock
Use case
ConvertDocumentToText
Author
@superface
Source
Verified