Skip to content
Docs menu

Convert to MOBI

Mobipocket E-Book. The API converts 25 formats to MOBI. 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":"mobi"}'

From 11 formats

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

  • passwordstringdefault: not set

    Password to open the file.

From 14 formats

azw, azw3, cb7, cbr, cbt, cbz, chm, epub, fb2, lrf, pdb, prc, rb, tcr

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