All Components


Prompts the user to save the Base64-encoded data as a file with a specified name.

import { saveAs, encodeBase64 } from '@progress/kendo-file-saver';

const dataURI = "data:text/plain;base64," + encodeBase64("Hello World!");
saveAs(dataURI, 'test.txt');


data string

The content of the file which is encoded as a Data URI. Supports only Base64-encoded Data URIs.

fileName string

The desired file name.

options? SaveOptions

An optional proxy configuration to use during the file-saving operation.

In this article