With this small graphical tool you can do a lot of text transformations, like encode and decode Base64, sort lines in alphabetical order, escape special characters in HTML, filter lines by Regex and much more.

Table of Contents

Download and installation

Text Pieces is available as a Flatpak package:

flatpak install flathub com.github.liferooter.textpieces

but you can also build it from source.


Run the app, and select a tool by clicking the tool name at the top and scroll through the list, or use the search bar. Then, type or paste the text and click “Apply”. As simple as that.

Text Pieces

Included tools

Text Pieces includes more than 30 text processing tools:

  • Encode/Decode Base64.
  • JSON/YAML converter.
  • Count lines, words or symbols.
  • Escape/unescape special characters.
  • Filter lines, replace or remove characters based on regular expressions (regex).
  • Sort lines.
  • Compute checksums (MD5, SHA1, SHA256, SHA384 and SHA512).
  • Trim lines (remove leading or trailing whitespaces and newlines).

Text Pieces does the work of several command-line tools (sort, awk, wc, etc.) in a graphical and very intuitive way.

Text Pieces

Text Pieces

If you have any suggestion, feel free to contact me via social media or email.