.wasm
💻 CodeBinary

.wasm File — WebAssembly Binary

application/wasm

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

WASM

Drop a .wasm file here or click to choose

Or drop any file to identify its extension

Expected MIME type:application/wasm

Quick Facts

Extension.wasm
Full NameWebAssembly Binary
MIME Typeapplication/wasm
CategoryCode
TypeBinary
Typical Size10 KB – 50 MB
First Appeared2017

What Is a .wasm File?

WebAssembly (Wasm) is a binary instruction format designed as a portable compilation target for high-level languages, enabling near-native performance execution in web browsers and other environments. WASM files contain compiled WebAssembly modules — compact binary code that can be loaded and executed by the WebAssembly virtual machine built into all modern browsers. WebAssembly is not written directly but is generated by compiling languages like C, C++, Rust, Go, AssemblyScript, and others using compilers like Emscripten or wasm-pack. WebAssembly provides predictable performance, sandboxed execution, and is designed to complement JavaScript — compute-intensive tasks run in Wasm while JavaScript handles DOM manipulation and high-level logic. Use cases include game engines (Unity, Unreal in browsers), image/video processing (Photoshop web, Figma), scientific computing, cryptography, and porting desktop applications to the web. Beyond browsers, the WebAssembly System Interface (WASI) enables Wasm modules to run outside browsers as portable, sandboxed executables, spawning an ecosystem for serverless computing, plugin systems, and edge computing.

How to Open .wasm Files

Any web browser (execution)
wasmtime
wasmer
wasm-tools
VS Code (inspection)

Related File Extensions

More Code File Extensions

Other code formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.