Last updated: Apr-23-2025
When using the JavaScript SDK, you can use one of several options to upload files directly to Cloudinary without the need for server-side operations or authentication signatures.
Upload options Upload widgetThe Upload widget is a ready-made, responsive user interface that enables your users to upload files from a variety of sources directly to Cloudinary. You can customize and embed this UI within your web application with just a few lines of code.
Check out the following Upload Widget code explorer that you can fork to try out some sample configuration changes:
Due to CORS issues with StackBlitz, you may have errors opening the widget with the preview. Try opening the preview in a new tab to resolve this or use the GitHub link below to run locally.
This code is also available in GitHub.
Upload endpointThe upload endpoint is https://api.cloudinary.com/v1_1/${cloudName}/upload
. To use the endpoint in your application, use the JavaScript Fetch API to call the Cloudinary upload
endpoint and pass:
tags
, if needed).âï¸ Feedback sent!
âï¸Â  ErrorUnfortunately there's been an error sending your feedback.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4