Computer Fax

How to fax from Linux: browser, email, command line or an AI assistant

Fax from Ubuntu, Fedora or any Linux desktop without a modem: send a PDF from the browser, by email-to-fax, with curl and the FaxDash API, or by asking Claude Code, Codex, Grok CLI or Gemini CLI.

Alex Morgan · 6 min read
Flat illustration of a home office desk with a desktop computer showing three soft color bars, a blank page arcing along a dotted line to a fax machine, a desk lamp, a stack of paper and a small succulent

You run Ubuntu, Fedora or another Linux desktop, and someone needs a signed form by fax. Setting up a fax modem and fax server software is a project of its own, and most offices no longer have a phone line to plug one into.

You do not need any of that. An online fax service does the dialing for you, so Linux only has to produce a PDF and send it over the internet. This guide covers four ways to do that with FaxDash: the browser, email, the command line and an AI assistant in your terminal.

The short answer

Make a PDF, then pick the route that fits how you work:

  • Browser: upload the PDF in the FaxDash web dashboard. No number needed.
  • Email: send the PDF from your mail client to your FaxDash number's email address. Needs a FaxDash number.
  • Command line: send with curl and the FaxDash REST API. API keys come with FaxDash's business plans; see pricing for current details.
  • AI assistant in the terminal: connect Claude Code, Codex, Grok CLI or Gemini CLI to FaxDash and ask for the fax in plain language.

Nothing needs to be installed on the Linux machine for the first two routes.

Step 1: Turn the document into a PDF

FaxDash sends PDFs, and the web dashboard also takes images. Most Linux apps can save one.

  • LibreOffice: choose File, then Export As, then Export as PDF, per LibreOffice Help.
  • Any other app: use its print dialog and print to a PDF file, then send that file. The print to fax guide walks through the idea.

If the document is on paper, scan it with your phone in the FaxDash app instead. The mobile app is built for camera scanning, and your account and history stay in sync with the web dashboard.

Option A: Send from the browser

This is the simplest route. FaxDash Help describes the web dashboard as working from any computer, so the distribution does not matter. Per FaxDash sending help:

  1. Sign in to the FaxDash web dashboard and open Send Fax.
  2. Drop in your PDF or images. Several files are merged into one fax.
  3. Type the fax number, or search your contacts. Add more numbers to send the same fax to several recipients.
  4. Check the document, recipients and credit cost, then click Send Fax. You can also schedule it for later here.

You do not need your own fax number to send this way. The fax shows a live status in your history, and when it is delivered you can open it on the Sent Faxes page and choose Download Receipt for your records.

Option B: Send from your email client

If you live in Thunderbird, Evolution or a terminal mail client, email-to-fax lets you send without opening a browser. It needs a FaxDash number on your account, because the number in the address is how FaxDash knows whose credits to use. Per the Integrations & API help:

  • To: your FaxDash fax number, digits only with the country code, followed by @fax.faxdash.io. A number of +1 202 555 0123 becomes 12025550123@fax.faxdash.io.
  • From: the email address on your FaxDash account, or your verified contact email. Mail from any other address is refused.
  • Subject: the destination fax number and nothing else.
  • Attachment: one PDF. Other file types are not read, and if there are several PDFs only the first is sent.

If FaxDash cannot send it, it replies to the address that emailed it and says why, and nothing is charged. The email-to-fax guide covers the subject rule and the reasons a fax gets refused.

Option C: Send from the command line

If you want to fax from a script or a cron job, use the FaxDash REST API. API keys come with FaxDash's business plans (see pricing for current details), and you create a key in the web dashboard under Settings, Integrations, API Keys. Give the key only the permissions it needs; by default it can send faxes and read their status.

Help lists the full sequence. It needs curl and jq, and FAXDASH_KEY holds your key:

# 1. Ask for an upload address
R=$(curl -s https://api.faxdash.io/v1/documents/upload-url \
  -H "X-API-Key: $FAXDASH_KEY" -H "Content-Type: application/json" \
  -d '{"fileName": "contract.pdf", "contentType": "application/pdf"}')
DOCUMENT_ID=$(echo "$R" | jq -r .data.id)
UPLOAD_URL=$(echo "$R" | jq -r .data.uploadUrl)
# 2. Upload the PDF (no API key here)
curl -s -X PUT "$UPLOAD_URL" -H "Content-Type: application/pdf" --data-binary @contract.pdf
# 3. Send it
FAX_ID=$(curl -s https://api.faxdash.io/v1/fax/send \
  -H "X-API-Key: $FAXDASH_KEY" -H "Content-Type: application/json" \
  -d '{"documentId": "'"$DOCUMENT_ID"'", "destinationNumber": "+12025550142"}' | jq -r .data.id)
# 4. Check on it
curl -s https://api.faxdash.io/v1/fax/$FAX_ID -H "X-API-Key: $FAXDASH_KEY"

Two habits help when this runs unattended. Keep the key out of the script and out of source control, for example in an environment variable. And if the script may retry a send, add an Idempotency-Key header so a retry does not send the same fax twice; the API reference explains how it works.

Option D: Ask an AI assistant in your terminal

If you already use an AI coding assistant on Linux, you can connect it to FaxDash and ask for a fax in plain language. FaxDash runs an MCP server at https://api.faxdash.io/mcp. Per the Integrations & API help, these are the commands for each client:

  • Claude Code: claude mcp add --transport http faxdash https://api.faxdash.io/mcp
  • Codex: codex mcp add faxdash --url https://api.faxdash.io/mcp, then codex mcp login faxdash
  • Grok CLI: grok mcp add --transport http faxdash https://api.faxdash.io/mcp, then run grok, enter /mcps, select faxdash and press i to start sign in
  • Gemini CLI: gemini mcp add --transport http faxdash https://api.faxdash.io/mcp

Each one sends you to the FaxDash sign in page in your browser, where you approve what the assistant may do. Connecting by signing in works on every plan, and the assistant spends your own credits. It cannot pay for anything, change your settings or delete anything. The ChatGPT and Claude fax guide explains what the assistant can and cannot do once connected.

What does not run on Linux

FaxDash Connect, the desktop app that prints each fax you receive, is for Mac and Windows, per Connect help. On Linux, open received faxes in the web dashboard and print them from there. By default, each received fax also triggers an email with a link to the fax in your inbox; the fax itself is not attached.

How WiseFax handles Linux

Features only, from WiseFax's Linux page, checked November 29, 2026.

FaxDashWiseFax
Send from a Linux browserYes, web dashboardYes, website
Install needed on LinuxNo for browser and emailNo
File types for a browser sendPDF or imagesOffice, iWork, PDF, OpenOffice and LibreOffice documents, and common image formats
Email to faxYes, needs a FaxDash numberNot stated on the Linux page
REST API from the command lineYes, with FaxDash's business plansNot stated on the Linux page
AI assistant connectorYes, MCP serverNot stated on the Linux page

"Not stated" means the cited page does not say, not that the feature is missing. If you mostly fax Office files from a browser, WiseFax's wider file type list may save you the PDF step. If you want to fax from scripts, mail or an AI assistant as well, FaxDash covers those routes.

Next step

Export one document to PDF and send it from the web dashboard to confirm your setup. Once that works, move to email, the API or a terminal assistant if one of them fits the way you already work.

Related reading

Try it with one page

No plan needed to start

Send a fax