Use the -d flag to decompress.
: If you prefer not to use the command line, modern archive tools like 7-Zip or WinRAR can often extract .lz4 files directly if you right-click the file.
lz4 -f filename.txt lz4 -f -d filename.txt.lz4