We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies

Overview

Angular File Upload or Material File Upload is a component for uploading one or multiple files, images, documents, audio, video, and other files to a server. It is an improved version of the HTML5 upload component (<input type="file">) with a rich set of features that include multiple file selection, progress bars, auto-uploading, drag and drop, folder (directory) uploading, file validation, and more.


Why choose Syncfusion Angular File Upload?

Multiple files uploading in Angular File Upload control

Multiple-file upload

Select multiple files and upload them to a server at the same time. This is useful for uploading images to a gallery and for file-sharing applications. 

Angular File Upload drag and drop

Drag and drop

Upload multiple files by simply dragging them from the file explorer to the drop area (drop zone), which is a more user-friendly way to select and upload multiple files. 

Angular File Upload folder

Folder upload

Accepts a folder (directory) as a file source for uploading all the files (including subfolders) of the selected folder.

Angular File Upload AJAX File Uploader

AJAX file uploader

Using the AJAX library, the Angular File Upload component easily uploads files in asynchronous mode. 

Angular File Upload utilize chunk upload for large files

Utilize chunk upload for large files

Manage upload of large file uploads efficiently using chunk upload that slices a large file into smaller chunks and uploads to the server in a sequential order asynchronously.

Angular File Upload create your own template designs

Create your own template designs

Allows users to create a custom UI in the Angular File Upload based on their application need using a wide range of template options.

Angular File Upload attractive customizable themes

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of File Upload easily.

Angular File Upload globalization and localization

Globalization and localization

Enables users from different locales to use the File Upload by formatting dates, currency, and numbering to suit their preferences.


Angular File Upload Code Example

Easily get started with the Angular File Upload using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular File Upload Example that shows you how to upload files in Angular.

<div class="control-section">
    <div class="col-lg-9">
        <div class="control_wrapper">
            <ejs-uploader #defaultupload id='defaultfileupload' [asyncSettings]='path' [dropArea]='dropElement' (removing)='onFileRemove($event)'></ejs-uploader>
        </div>
    </div>
</div>
import { Component, ViewChild, ViewEncapsulation, Inject } from '@angular/core';
import { EmitType, detach } from '@syncfusion/ej2-base';
import { UploaderComponent, RemovingEventArgs } from '@syncfusion/ej2-angular-inputs';
import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
@Component({
    selector: 'app-root',
    templateUrl: 'app.component.html',
    styleUrls: ['app.component.css'],
    encapsulation: ViewEncapsulation.None
})
export class AppComponent {
    @ViewChild('defaultupload')
    public uploadObj: UploaderComponent;

    public path: Object = {
        saveUrl: 'https://ej2.syncfusion.com/services/api/uploadbox/Save',
        removeUrl: 'https://ej2.syncfusion.com/services/api/uploadbox/Remove'
    };
    public dropElement: HTMLElement = document.getElementsByClassName('control-fluid')[0] as HTMLElement;
    public onFileRemove(args: RemovingEventArgs): void {
        args.postRawFile = false;
    }
    constructor() {
        
    }
}

Resumable upload

A built-in feature is available to pause, resume, retry, and cancel a file upload. This helps users upload high-resolution images, videos,and other large files safely. Additionally, it provides an option to pause and resume automatically based on server connection.

Angular File Upload with pause, resume, retry, and cancel.


Angular image upload with its preview thumbnails

Upload images with previews

The Angular File Upload component allows you to upload images and resize images, show an image preview or thumbnail, etc. before uploading them.


Custom file upload button

The action buttons of the Angular File Upload component are completely customizable, including its file list, which helps create your own design for the File Upload UI.

Angular File Upload with customized buttons.


Angular File Upload validates file type.

File types (file extensions)

Upload various file types and limit the file types from client-side, which is mandatory before uploading a file to the web application.


File validation (filter)

Add validation to check file size limits with minimum and maximum ranges, number of files required, total size, and MIME type before uploading a file to a server.

Angular File Upload restricts file size.


Angular File Upload process images from clipboard on paste

Paste image to upload

The Angular File Upload component processes images from the clipboard, also. Simply copy and paste the images to be uploaded to a server.


Delete uploaded files

The Angular File Upload component provides a simple interface to delete the wrongly uploaded files from a server.

Angular File Upload removes the uploaded files


Angular File Upload preload uploaded files.

Preload uploaded files

Users can configure previously uploaded files from the server. This is useful to view and remove files from the server.


Auto-upload

Initiate an automatic upload to upload files immediately upon adding them to the upload queue.

Angular File Upload with automatic upload


Angular File Upload with progress bar.

Progress bar

The Angular File Upload component displays a built-in progress bar (progress indicator) with the progress percentage during each file upload. The Uploader Progressbar is completely customizable.


Right-to-left (RTL)

The Angular File Upload component supports right-to-left rendering, which improves the user experience and accessibility for those who use RTL languages.

Angular File Upload with right-to-left mode.


Additional parameters

The Angular File Upload component allows you to pass additional parameters along with an upload request as an HTTP header or custom parameters.

Angular standard forms

The Angular File Uploader seamlessly works with Angular standard template-driven forms, reactive forms, and native HTML forms.


Angular File Upload covers web accessibility.

Web accessibility

  • Fully supports WAI-ARIA accessibility, which allows the Angular File Upload component to be accessed by on-screen readers and assistive devices.
  • Follows the WAI-ARIA Best Practices for implementing keyboard interaction.
  • The UI element visuals, such as foreground color, background color, line spacing, text, and images, were designed based on the WCAG 2.0 standard.

Angular File Upload works well in touch devices.

Touch support

The Angular File Upload component provides the best user experience across phone, tablet, and desktop form factors.


Angular version compatibility

With continuous improvement in Angular versions, the Angular File Upload is kept up to date to make it compatible with versions starting from 7 to the latest version.

Angular version compatibility.





Other supported frameworks

File Upload is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different File Upload platforms from the links below,

Supported browsers

The Angular File Upload works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers of Angular File Upload.

80+ ANGULAR UI COMPONENTS

Frequently Asked Questions

  • Extended version of the HTML5 file upload with a progress bar and flexible UI file list.
  • Angular multiple-file upload with form support, drag and drop, progress bar, folder upload, and more.
  • Large file upload with pause, resume, retry, and cancel options using chunking.
  • One of the best Angular File Upload in the market that offers feature-rich UI to interact with the software.
  • Completely customizable using templates.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with Angular File Upload.

You can find our Angular File Upload demo, which demonstrates how to render and configure the File Upload.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile