Skip to content
Docs menu

Convert to LIT

Microsoft Reader E-Book. The API converts 22 formats to LIT. These are the options, by input format.

curl https://api.switchfile.io/v1/convert \
  -H "Authorization: Bearer $SWITCHFILE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/input.doc","to":"lit"}'

From 11 formats

doc, docm, docx, dot, dotm, dotx, fodt, odt, ott, rtf, txt

  • passwordstringdefault: not set

    Password to open the file.

From 11 formats

azw, azw3, chm, epub, fb2, lrf, mobi, pdb, prc, rb, tcr

No options. The file is converted with the usual settings for LIT.