Actual widget output
File picker source

Describe the file types your picker should suggest.

Enter a MIME type or extension on each line, then build a reusable accept attribute. Try the PDF or image examples and compare the generated source.

Build a file picker accept attribute

Use MIME types, image/*, audio/*, video/* or extensions such as .pdf and .tar.gz. This builds source only; it does not check or upload files.

Accept attribute

Start with your own file types; the placeholder is an example only.