wasm-strip1
Remove sections of a webassembly binary file
Usage
wasm-strip [options]
filename
Overview
wasm-strip Remove sections of a WebAssembly binary file.
The options are as follows:
-
--help -
Print this help message
-
--version -
Print version information
-
-o, --output=FILE -
output wasm binary file
-
-k, --keep-section=SECTION -
NAME Section name to keep in the final output
Examples
Remove all custom sections from test.wasm
$ wasm-strip test.wasm
Releases
5 releases since Debian 10 (Buster); the text changed 3 times.
--keep-section since Arch Linux 2026-11-01;
--output since Debian 12 (Bookworm);
--version since Debian 12 (Bookworm);
-k since Arch Linux 2026-11-01;
-o since Debian 12 (Bookworm).