New to KendoReactStart a free 30-day trial

encodeBase64

Encodes the provided string as Base64-encoded data.

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

console.log(encodeBase64("Hello World!"));

Parameters

plainText string

The plain text to encode. Might contain UTF-8 symbols.

Returns

string—The Base64-encoded string.

In this article
ParametersplainTextReturns
Not finding the help you need?
Contact Support