3 votes
WAT File - What is a .wat file and how do I open it?
Learn about .WAT files and view a list of programs that open them.
Languages
Overview
What is a WAT file? A WAT file is a text file written in the WebAssembly Text Format (WAT), a human-readable representation of WebAssembly (WASM) in a syntax similar to the .LISP programming language and based on S-expressions. The WAT format allows developers to write, view, and debug WebAssembly code before compiling it into the binary WebAssembly ( .WASM ) format, which runs in environments that support WASM, typically in web browsers.
More Information WAT file open in Microsoft Visual Studio Code 1.9 After compiling WAT files to WASM with a WebAssembly compiler, developers typically deploy them to run in web browsers, such as Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari, for games, media editing tools, data simulations, and more. WASM files may also run on server-side platforms like Node.js. NOTE: The World Wide Web Consortium (W3C) WebAssembly Community Group develops WAT as part of the WebAssembly (WASM) project (beginning in 2015). The group includes major contributors from Mozilla, Google, Microsoft, and Apple and independent developers.
Document Icon
Breadcrumbs
Previous / Next
In-Depth
.WAT File Extension
WebAssembly Text File
| Developer | W3C |
| Popularity |
4.0 | 3 Votes |
What is a WAT file?
A WAT file is a text file written in the WebAssembly Text Format (WAT), a human-readable representation of WebAssembly (WASM) in a syntax similar to the .LISP programming language and based on S-expressions. The WAT format allows developers to write, view, and debug WebAssembly code before compiling it into the binary WebAssembly ( .WASM ) format, which runs in environments that support WASM, typically in web browsers.
More Information
WAT file open in Microsoft Visual Studio Code 1.9
After compiling WAT files to WASM with a WebAssembly compiler, developers typically deploy them to run in web browsers, such as Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari, for games, media editing tools, data simulations, and more. WASM files may also run on server-side platforms like Node.js.
NOTE: The World Wide Web Consortium (W3C) WebAssembly Community Group develops WAT as part of the WebAssembly (WASM) project (beginning in 2015). The group includes major contributors from Mozilla, Google, Microsoft, and Apple and independent developers.
How to open a WAT file
You can open WAT files with various source code editors, including Microsoft Visual Studio Code and Brackets .
Since WAT files are saved in plain text, you can also open and edit WAT files with a basic text editor, such as Microsoft Notepad or Apple TextEdit . However, text editors do not offer the same helpful editing features that source code editors provide.
How to convert a WAT file
You can compile WAT files to WASM files with various WebAssembly compilers, including the wat2wasm command-line tool available with WABT (The WebAssembly Binary Toolkit).
Open over 400 file formats with File Viewer Plus . Free Download
Programs that open WAT files
Sort
Pricing
Program Name
Platform
Reset
X
Windows
Microsoft Visual Studio Code
Free
Brackets
Free
Microsoft Notepad
Included with OS
Any text editor
WABT
Free
Mac
Microsoft Visual Studio Code
Free
Brackets
Free
Apple TextEdit
Included with OS
Any text editor
WABT
Free
Linux
Microsoft Visual Studio Code
Free
gedit
Free
Any text editor
WABT
Free
Category: Developer Files
Updated: December 23, 2024