Skip to content
Docs menu

Convert to LRF

Sony BroadBand eBook. The API converts 21 formats to LRF. 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":"lrf"}'

From 11 formats

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

  • passwordstringdefault: not set

    Password to open the file.

From 10 formats

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

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