.WASM

Archivo WASM

WebAssembly Binary File
Hacer una pregunta
RESPUESTA RÁPIDA

Un archivo .wasm contiene un módulo de WebAssembly compilado: un código de bytes (bytecode) binario portátil producido a partir de lenguajes como C, C++ o Rust que se ejecuta a una velocidad cercana a la nativa. La mayoría de los archivos .wasm son cargados por una página web y ejecutados por el navegador en lugar de abrirse directamente, por lo que cualquier navegador moderno (Chrome, Firefox, Edge, Safari) los ejecuta. Para inspeccionar uno, desensámblelo a texto legible con la herramienta wasm2wat del WebAssembly Binary Toolkit (WABT), o ejecútelo fuera del navegador con un entorno de ejecución como Wasmtime o Wasmer.

Desarrollador: W3C WebAssembly Working Group (originally Mozilla, Google, Microsoft, Apple) Categoría: Archivos de desarrollo Estándar abierto MIME: application/wasm
SE ABRE EN Windows macOS Linux Web
Relacionado: .DO · .MD · .HEX · .XSD

En esta página

19k+ extensiones indexadas
Última revisión Aug 28, 2026

¿No está seguro de qué es su archivo?

Suelte cualquier archivo en nuestro identificador - leemos solo los primeros bytes para nombrar el formato.

Identificar un archivo

¿Qué es el formato de archivo WASM?

Un archivo .wasm es un módulo de WebAssembly compilado: código de bytes binario portátil para una máquina virtual basada en pila. Los desarrolladores escriben código en C, C++, Rust, Go u otro lenguaje compatible y lo compilan a .wasm para que se ejecute a una velocidad cercana a la nativa. En la web, el módulo se ejecuta junto con JavaScript; el navegador lo recupera y lo ejecuta en un entorno aislado (sandbox) sin acceso directo a su sistema.

WebAssembly es un estándar abierto del W3C WebAssembly Working Group, cuya primera versión estable fue en marzo de 2017 y es una Recomendación del W3C desde diciembre de 2019. Cada módulo comienza con el encabezado de 8 bytes 00 61 73 6D 01 00 00 00 (la cadena \0asm más un campo de versión), seguido de secciones numeradas para tipos, importaciones, funciones, memoria, exportaciones y el código. La contraparte de texto legible es el formato .wat.

Seguridad y protección

RIESGO: MEDIUM

WebAssembly runs inside a sandbox with no direct access to the file system, network, or DOM unless the host grants it, so a module cannot escape on its own. The risk comes from what the surrounding page or runtime allows: malicious sites have used Wasm for in-browser cryptomining and for obfuscating logic that is harder to read than JavaScript. Only run standalone .wasm files from sources you trust, since a WASI runtime can be given file and network permissions.

Detalles del formato

en pocas palabras
NOMBRE COMPLETOWebAssembly Binary Filetambién conocido como Wasm, WebAssembly module
DESARROLLADORW3C WebAssembly Working Group (originally Mozilla, Google, Microsoft, Apple)desde 2017
TIPO MIMEapplication/wasm
TIPOBinary bytecode / compiled module
ESTÁNDARAbierto · libre de regalías
RELACIONADO.do.md.hex.xsd
Esta extensión también es utilizada por…
  • Wavefront / general 3D scene data - A few older or niche 3D and simulation tools have used .wasm for scene or mesh data, unrelated to WebAssembly.
  • Application-specific save or cache files - Some standalone programs have reused the .wasm extension for internal data files; these are not WebAssembly modules and lack the \0asm header.
MAGIC BYTES · FIRMA DE ARCHIVO
OFFSET
0001020304050607
HEX
0061736D01000000
ASCII
·asm····
First 4 bytes are the magic number 00 61 73 6D ("\0asm"). The next 4 bytes are the little-endian version field, currently 01 00 00 00 (version 1).

Programas que abren archivos WASM

Windows6 apps
Mozilla Firefox Código abierto Runs .wasm served by a page and shows the disassembled module in the Debugger panel.
Google Chrome Gratis Loads and executes .wasm modules automatically when a web page instantiates them; DevTools can disassemble and debug them.
Microsoft Edge Gratis Executes WebAssembly on any page and inspects modules through its DevTools.
WABT (wasm2wat) Código abierto Run wasm2wat file.wasm -o file.wat to disassemble the binary into readable text; wasm-objdump prints section details.
Wasmtime Código abierto Execute a standalone module from the command line with wasmtime file.wasm.
Wasmer Código abierto Run or embed a .wasm module with wasmer run file.wasm, including WASI programs.
macOS4 apps
Google Chrome Gratis Instantiates .wasm from pages and disassembles them in DevTools.
Apple Safari Integrado Runs WebAssembly modules loaded by web pages and lets you inspect them in Web Inspector.
WABT (wasm2wat) Código abierto Disassemble a binary to text with wasm2wat file.wasm; installable via Homebrew.
Wasmtime Código abierto Run a module directly with wasmtime file.wasm.
Linux5 apps
Mozilla Firefox Código abierto Runs WebAssembly on any page and shows it in the Debugger.
Google Chrome Gratis Executes .wasm served by a page; DevTools disassembles the module.
WABT (wasm2wat) Código abierto Disassemble with wasm2wat file.wasm or dump sections with wasm-objdump -x file.wasm.
Wasmtime Código abierto Execute standalone modules with wasmtime file.wasm.
WasmEdge Código abierto Run edge and server modules with wasmedge file.wasm.
Web1 app
WebAssembly.org online tools / Wasm Explorer Gratis Upload or paste a module to view its disassembly and section layout in the browser.

Detalles técnicos

especificación profunda
EncodingBinary bytecode (stack-machine instructions)
Byte orderLittle-endian for multi-byte scalars; LEB128 for integers
ContainerModule = 8-byte header followed by a sequence of numbered sections
CompressionNone built in; commonly served with gzip or Brotli over HTTP
Typical sizeTens of KB to several MB depending on the compiled program
StructureHeader (magic + version) then sections: Type, Import, Function, Table, Memory, Global, Export, Start, Element, Code, Data, plus optional Custom sections (names, DWARF debug info).
IntegrityNo internal checksum; integrity handled by transport (HTTPS) or Subresource Integrity on the web
PlatformsWindows, macOS, Linux, Android, iOS, Web
Initial Release FullMarch 2017 (MVP / binary format version 1)
NotesText-format counterpart is the .wat file. Source languages such as C, C++, Rust and Go compile to .wasm. Runs sandboxed in browsers and in standalone runtimes (Wasmtime, Wasmer, WasmEdge, WAMR). WASI extends it to server and CLI use.
Instruction SetVirtual stack machine, structured control flow, 32/64-bit integers and floats, linear memory
Debug InfoOptional DWARF data and a name section carried in Custom sections
Lanzado2017
Última versiónWebAssembly 3.0 (2025); binary version field 0x01
Estándar abiertoSí · libre de regalías
Especificaciónwebassembly.github.io

Conversiones de WASM

Preguntas y respuestas de la comunidad

preguntado por usuarios
Hacer una pregunta rápida
Obtenga ayuda de personas que trabajan con archivos WASM. Sea específico: incluya su sistema y la versión del software.
No se necesita cuenta · respuestas generalmente en un día

Aún no hay preguntas; sea el primero en preguntar sobre los archivos WASM.

Preguntas frecuentes

¿Cómo abro un archivo WASM?
En la web, rara vez se abre manualmente; una página lo carga y el navegador lo ejecuta. Para leer uno, desensámblelo a texto con wasm2wat file.wasm de WABT, o ejecútelo fuera de un navegador con Wasmtime o Wasmer.
¿Puedo editar un archivo WASM?
No directamente de forma útil, ya que es binario. Conviértalo al formato de texto .wat con wasm2wat, edítelo y luego vuelva a ensamblarlo con wat2wasm. Para cambios reales, normalmente se edita el código fuente original en C, C++ o Rust y se vuelve a compilar.
¿Cuál es la diferencia entre .wasm y .wat?
.wasm es el binario compacto que ejecuta una máquina; .wat es el texto equivalente legible por humanos (WebAssembly Text Format). Se pueden convertir de uno a otro sin pérdidas con WABT.
¿Por qué mi navegador descarga un archivo .wasm en lugar de ejecutarlo?
El servidor debe enviar el .wasm con el tipo MIME application/wasm. Si se sirve como un tipo genérico o de texto, el navegador puede descargarlo o negarse a compilarlo en flujo. Corrija el tipo de contenido (content-type) del servidor.
¿Es seguro ejecutar un archivo WASM?
En un navegador, se ejecuta en un entorno aislado y no puede tocar sus archivos por sí solo. Un entorno de ejecución independiente puede otorgarle más acceso a través de WASI, por lo que solo debe ejecutar módulos de fuentes en las que confíe.
¿Qué programas crean archivos WASM?
Compiladores y cadenas de herramientas como Emscripten (C/C++), el objetivo wasm32 de Rust con wasm-pack, TinyGo/Go y Clang/LLVM producen una salida .wasm.

Referencias

1WebAssembly - Wikipediaen.wikipedia.org
2WebAssembly Core Specification - Binary Format (W3C)webassembly.github.io

Siga explorando

en toda la base de datos

Extensiones principales esta semana

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.PARTPartial Download File
8.BINCD/DVD Disc Image (BIN/CUE)
9.DBSQLite Database File
10.JSONJavaScript Object Notation file

Extensiones relacionadas

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Herramientas de archivo gratuitas

Un identificador de archivos y convertidor de imágenes en el navegador - todo se ejecuta en su dispositivo.

Abrir la caja de herramientas

Explorar extensiones de archivo A-Z