skip to content
Alvin Lucillo

Decoding text no wrapping

/ 1 min read

💻 Tech

By default, base64 wraps decoded text, but if you want a result that’s not wrapped, use -w 0 argument.

echo "123" | base64 -w 0 
MTIzCg==%                                                                                                                                                                                                                        
echo "123" | base64     
MTIzCg==