Skip to content
Docs menu

Convert to TTF

TrueType Font. The API converts 4 formats to TTF. This target has no options.

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

From 4 formats

eot, otf, woff, woff2

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