# Add input file types to sandbox upload button

**URL:** <https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/39131>\
**Category:** Feature requests\
**Tags:** sandbox, gltf, glb, upload\
**Created:** [March 17, 2023, 2:36pm UTC](https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/39131 "2023-03-17T14:36:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dok11](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dok11/32/25754_2.png) [@Dok11](https://forum.babylonjs.com/u/Dok11)\
**Post date:** [March 17, 2023, 2:36pm UTC](https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/39131/1 "2023-03-17T14:36:02Z")

</div>

Please, add types to this button:

> **[Babylon.js Sandbox - View glTF, glb, obj and babylon files](https://sandbox.babylonjs.com/)**
>
> Viewer for glTF, glb, obj and babylon files powered by Babylon.js

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/2/f2c6499ecf3a8a27e36000eda7501f179522f144.png)

After click this button I open the Downloads folder and trying to find target glb/gltf file. It is pretty hard to find needed file in this trash 😃

But it is much more convenient, when input has the target filter:  
`<input type="file" id="files" multiple="" accept=".glb,.gltf,.obj,.babylon">`

> **[HTML attribute: accept - HTML: HyperText Markup Language | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)**
>
> The accept attribute takes as its value a comma-separated list of one or more file types, or unique file type specifiers, describing which file types to allow.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 17, 2023, 5:58pm UTC](https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/39131/2 "2023-03-17T17:58:55Z")

</div>

Do you want to make a PR for it ?

---

<div class="post-metadata">

**Author:** ![Dok11](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dok11/32/25754_2.png) [@Dok11](https://forum.babylonjs.com/u/Dok11)\
**Post date:** [March 17, 2023, 6:21pm UTC](https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/39131/3 "2023-03-17T18:21:37Z")

</div>

Check this out =)

> <https://github.com/BabylonJS/Babylon.js/pull/13635>
>
> https://forum.babylonjs.com/t/add-input-file-types-to-sandbox-upload-button/3913…1
