swiftimg

← Blog · · 3 min read

Set up a ShareX custom uploader for screenshots

ShareX is the go-to Windows screenshot tool, and its custom uploader feature can send every capture straight to your own host and copy the link to your clipboard automatically. Here's the fastest way to point it at swiftimg.

The easy way: generate the config

  1. Create an API key in your account.
  2. Go to the developers page, paste your key in the ShareX section, and click Download .sxcu. Your key is written into the file in your browser — it never touches our servers.
  3. Open the downloaded swiftimg.sxcu file. ShareX imports it and asks to set it as your image uploader — say yes.
  4. Capture a screenshot. The link is on your clipboard.

What the config does

The .sxcu is just a small JSON descriptor telling ShareX to POST the file to the API with your bearer token and read the returned URL:

swiftimg.sxcu
{
  "Name": "swiftimg",
  "DestinationType": "ImageUploader, FileUploader",
  "RequestMethod": "POST",
  "RequestURL": "https://swiftimg.com/v1/images",
  "Headers": { "Authorization": "Bearer YOUR_KEY" },
  "Body": "MultipartFormData",
  "FileFormName": "file",
  "URL": "{json:directUrl}"
}

Not on Windows?

The same one-request API works anywhere. On macOS/Linux, the swiftimg CLI gives you swiftimg upload shot.png (and a one-line "upload latest screenshot + copy link" alias).

Host your images globally

Free to start — no account needed. Upgrade for the API, transforms, and a custom domain.