wasm-strip(1)

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.

  1. 10–11
  2. 12
  3. 13
  4. Arch

--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).

Bugs

If you find a bug, please report it at
https://github.com/WebAssembly/wabt/issues.

From wabt 1.0.42-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.