HTML5 Please

drag n drop

Use with caution with polyfillapi

Drag and Drop has been standardized in HTML5 based on Internet Explorer's original implementation.

Verdict
Use with caution
Category
JavaScript APIs
Browser support
Can I Use
Works in
all modern browsers

Should you use drag n drop in 2026?

Therefore, it already has wide desktop support, but many feel frustrated when using the API. You may want to use jQuery UI Draggable (or another JavaScript library) to handle this for you. Meanwhile the proposed dropzone attribute will improve the situation as it gains browser support.

There is not much mobile support currently.

Polyfills and fallbacks

dropfile, fileSaver, jDataView