SUTF(1)
πΈ NAME β sutf, aka the SUTF(1) manual πΈ
okay so this is SUTF(1), the manual page for sutf, and she does one iconic thing: convert encoding of text files. that's the whole vibe, bestie. π
β¨ SYNOPSIS β¨
sutf [OPTIONS...] [INPUTFILES...]
π¦ DESCRIPTION π¦
sutf converts the encoding of text files from one encoding to another, using the high-performance simdutf library for the formats it supports. for formats that simdutf doesn't support, sutf falls back to iconv if iconv is available. no cap, that's the whole plot. β¨
π OPTIONS π
-f,--from-code=ENCODINGβ encoding of the source text. this one is mandatory, bestie. you literally cannot skip it. π-t,--to-code=ENCODINGβ encoding of the output. also mandatory, so don't forget it. π«Ά-o,--output=FILEβ output file. if you don't specify it, the output goes to standard output. slay. π-h,--helpβ display help text and exit. your little "what do i do" button. π-u,--usageβ display a short usage message and exit. short and sweet. β¨-l,--listβ display supported formats and exit. the format menu, basically. π
π SUPPORTED FORMATS π
formats supported by the simdutf library: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE. that's the exact list, in that exact order. π
if iconv is available, additional formats supported by iconv are also available. the more you know π
π EXAMPLES π
convert UTF-16LE file to UTF-8:
sutf -f UTF-16LE -t UTF-8 input.txt
convert multiple files and save to output file:
sutf -f UTF-8 -t UTF-16BE -o output.txt file1.txt file2.txt
list supported formats:
sutf --list
π«Ά SEE ALSO π«Ά
π AUTHOR π
Written by the simdutf development team. periodt. π
and that's the cute sign-off, bestie: this page comes from simdutf and is dated March 2026. the SUTF(1) footer energy is right there, but make it slay. π¦β¨
π¦ where this page comes from
- alpine 3.24: simdutf-doc 9.0.0-r0 Β· Apache-2.0 OR MIT
- arch rolling: simdutf 9.2.2-1 Β· Apache-2.0 OR MIT
- nixos 26.05: simdutf 9.0.0
- nixpkgs unstable: simdutf 9.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms