bytes-formatter
Pavlo Myroniuk April 09, 2023 #js #tools #projectVisit this tool at bf.qkation.com.
Motivation
During my work, I often need to convert bytes between different representations (format) like from hex to decimal and vice versa. From hex/base64 to ASCII. And so on. Before I just have one small rust project on my laptop with a few dependencies and every time I inserted my new data, run this project, and copy the output. After some time it became inconvenient: I was forced to keep this project on every machine, compile it after every code change, etc. After some suffering, I wrote this user-friendly tool in pure html/css/js. The code is clear-cut and perfectly does the job.
Features:
- supported formats:
decimal
,hex
,base64
(both: usual and url-encoded),ascii
,binary
,utf-8
, andutf-16
. - ability to copy only selected range of the bytes. It automatically counts the amount of the selected bytes.
- share by the link.
- integrated asn1 parser (available for
hex
andbase64
output types).
How to use it
Just follow the link and paste your data. The interface is pretty intuitive. Anyway, it also has examples of the different inputs. Click the Show input examples
button to see them. You'll see that you can insert even unfiltered data and this tool will do basic filtering and formatting.
Moving forward
I already implemented the needed functionality for me. If you found the bug or have the feature request, then create a new issue with the proper description.