Scroll to navigation

SUTF(1) User Commands SUTF(1)

NAME

sutf - convert encoding of text files

SYNOPSIS

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

DESCRIPTION

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.

OPTIONS

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.

SUPPORTED FORMATS

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.

EXAMPLES

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

SEE ALSO

iconv(1), uconv(1)

AUTHOR

Written by the simdutf development team.

March 2026 simdutf