Free Temporary File Sharing Service - Fast & Secure File Transfer

Upload files (up to 100MB) and get temporary download links with global CDN acceleration

✨ NEW: Generate QR codes for easy mobile downloads!

Note: Anonymous uploads are automatically deleted after 7 days to protect your privacy

Drag & Drop your file here or click Choose File

How to Use - Multiple File Upload Methods

tfLink provides various convenient file upload methods to meet different user needs. Whether you're a developer, designer, or regular user, you'll find a suitable upload method.

Web Upload (Recommended)

The simplest way: directly drag and drop files to the area above or click the Choose File button. Get download links immediately after upload.

🆕 QR Code Feature: After uploading, click the "QRCode" button to generate a QR code for easy mobile downloads. Perfect for sharing files between devices!

Command Line Upload (CLI)

Perfect for developers and technical users, supports script automation and batch processing.

Replace placeholders like /path/to/your/file.ext, YOUR_USER_ID, YOUR_AUTH_TOKEN with your actual values.

Linux/macOS (curl):

Anonymous Upload:
curl -X POST -F "file=@/path/to/your/file.ext" https://tmpfile.link/api/upload
Authenticated Upload:
curl -X POST \
     -H "X-User-Id: YOUR_USER_ID" \
     -H "X-Auth-Token: YOUR_AUTH_TOKEN" \
     -F "file=@/path/to/your/file.ext" \
     https://tmpfile.link/api/upload

Windows (PowerShell):

(Note: Ensure file paths are correct for Windows, e.g., C:\path\to\your\file.ext)

Anonymous Upload:
Invoke-RestMethod -Uri https://tmpfile.link/api/upload -Method Post -InFile C:\path\to\your\file.ext -ContentType multipart/form-data
Authenticated Upload:
$headers = @{
    "X-User-Id"    = "YOUR_USER_ID";
    "X-Auth-Token" = "YOUR_AUTH_TOKEN"
}
Invoke-RestMethod -Uri https://tmpfile.link/api/upload -Method Post -InFile C:\path\to\your\file.ext -ContentType multipart/form-data -Headers $headers

API Documentation

Send a POST request to /api/upload with multipart/form-data. Include the file in a field named file.

For authenticated requests, include X-User-Id and X-Auth-Token headers.

The response will be JSON containing fileName, downloadLink, downloadLinkEncoded, size, type, and uploadedTo.

Example HTTP Request (Raw):

POST /api/upload HTTP/1.1
Host: tmpfile.link
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
# Optional headers for authentication:
# X-User-Id: YOUR_USER_ID
# X-Auth-Token: YOUR_AUTH_TOKEN

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="yourfile.txt"
Content-Type: text/plain

(content of your file here)
------WebKitFormBoundary7MA4YWxkTrZu0gW--

(Note: The boundary string will vary based on the client.)

Example JSON Response:

Anonymous upload example (files automatically deleted after 7 days):

{
  "fileName": "example.png",
  "downloadLink": "https://d.tmpfile.link/public/2025-07-31/a1b2c3d4-e5f6-7890-abcd-ef1234567890/example.png",
  "downloadLinkEncoded": "https://d.tmpfile.link/public%2F2025-07-31%2Fa1b2c3d4-e5f6-7890-abcd-ef1234567890%2Fexample.png",
  "size": 102400,
  "type": "image/png",
  "uploadedTo": "public"
}

Authenticated user upload example:

{
  "fileName": "document.pdf",
  "downloadLink": "https://d.tmpfile.link/users/YOUR_USER_ID/2025-07-31/uuid-example/document.pdf",
  "downloadLinkEncoded": "https://d.tmpfile.link/users%2FYOUR_USER_ID%2F2025-07-31%2Fuuid-example%2Fdocument.pdf",
  "size": 2048000,
  "type": "application/pdf",
  "uploadedTo": "user: YOUR_USER_ID"
}

Key Features

🚀 Fast Upload

Built on Cloudflare Workers with global edge acceleration

📱 QR Code Sharing

Generate QR codes for instant mobile downloads

🔒 Secure & Private

7-day auto-deletion protects your privacy

💻 Multiple Methods

Support for web, API, CLI, and QR code sharing

Frequently Asked Questions (FAQ)

What file types are supported?

tfLink supports all file types, including but not limited to: images (JPG, PNG, GIF), documents (PDF, DOC, PPT), videos, audio files, archives, and more.

What is the file size limit?

Individual files can be up to 100MB. For larger files, we recommend compressing them first.

How long are files stored?

Anonymous uploads are automatically deleted after 7 days. Files from authenticated users are stored for longer periods.

Does it support batch uploads?

Currently, the web interface supports single file uploads. For batch uploads, please use the CLI command-line tools.

How does the QR code feature work?

After uploading a file, click the "QRCode" button to generate a QR code containing the download link. Scan it with any mobile device to instantly access and download your file. Perfect for transferring files between devices!