SUTF(1) User Commands SUTF(1)

sutf - convert encoding of text files

sutf [OPTIONS...] [INPUTFILES...]

sutf converts the encoding of text files from one encoding to another using the high-performance simdutf library for supported formats. For unsupported formats, it falls back to iconv if available.

Encoding of source text (mandatory).
Encoding of output (mandatory).
Output file. If not specified, output goes to standard output.
Display help text and exit.
Display short usage message and exit.
Display supported formats and exit.

Formats supported by simdutf library: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE

If iconv is available, additional formats supported by iconv are also available.

sutf -f UTF-16LE -t UTF-8 input.txt
sutf -f UTF-8 -t UTF-16BE -o output.txt file1.txt file2.txt
sutf --list

iconv(1), uconv(1)

Written by the simdutf development team.

March 2026 simdutf