Uploading
Implement file uploading into your application.
- Built-in storage and CDN
- Uploading acceleration network
- Multipart uploading up to 5 TB per file
- Authenticated uploading process
- Unlimited scalability on demand
Upload API
Build custom uploading flow using Upload API directly or with an API client.
cUrlJavaScriptPython
curl -F "UPLOADCARE_PUB_KEY=demopublickey" \
-F "file=@sample-image.jpeg" \
"https://upload.uploadcare.com/base/"
bash
Once a file is uploaded, it's available by a URL with the UUID:
API clients →File Uploader
We’ve built a UI that uses Upload API so you don’t have to.
npm install uploadcare-widget
bash
import uploadcare from 'uploadcare-widget'
javascript
You can get a file uploader instance and configure it with configuration object:
<input id="uploader" type="hidden" />
html
const widget = uploadcare.Widget("#uploader", { publicKey: 'demopublickey' });
javascript
It will appear like this (clickable):
Loading...
This responsive widget works in all modern browsers, on all devices and it has a plenty of features and customization options.
Alternative methods
Transfer and deliver your existing files with Uploadcare without explicitly uploading:
- Proxy — delivers files from your domain via Uploadcare CDN.
- Migration tool transfers your files from other platforms.
Secure uploading
Control who can upload files to your account by authenticating upload requests.
Secure Uploading →