# FileSaver.js demo

The following examples demonstrate how it is possible to generate and save any type of data right in the browser using the W3C `saveAs()` FileSaver interface, without contacting any servers.

## Saving an image

Filename: .png

## Saving text

Filename: .txt

## Saving rich text

### Some example rich text

- Plain Boring text.
- Emphasized text!
- Strong text!
- A link.

Filename: .xhtml

# FAQ

Why isn't my filename saved?

  Saving with filenames is only available in browsers that natively support `FileSaver` or browsers like Google Chrome 14 dev and Google Chrome Canary, that support `` or `LocalFileSystem`.