Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hex Converter #1447

Open
3 tasks done
Cryoza opened this issue Jan 8, 2025 · 2 comments · May be fixed by #1530
Open
3 tasks done

Hex Converter #1447

Cryoza opened this issue Jan 8, 2025 · 2 comments · May be fixed by #1530
Labels
enhancement New feature or request triage

Comments

@Cryoza
Copy link

Cryoza commented Jan 8, 2025

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

It would be awesome to have a tool that would be (ideally) working such as to convert hexadecimal values into various data formats, including bytes, integers (both signed and unsigned), and floating-point numbers, accommodating different bit significances and endianness configurations.

This tool is particularly beneficial for professionals working with industrial communication protocols and interfacing with diverse hardware devices, as it aids in interpreting raw binary data by providing:

Hex-to-ASCII Conversion: Translates hexadecimal data into ASCII characters.

Hex-to-Binary Conversion: Generates a binary string representation of the provided hexadecimal input.

Hex-to-Float Conversion: Performs conversions across all four endian combinations to interpret the hexadecimal value as a floating-point number.

Hex-to-Unsigned Integer (UINT) and Signed Integer (INT) Conversion: Converts the hexadecimal string into unsigned and signed integers, considering the four different endian combinations.

Hex-to-16-bit Unsigned Integer (UINT16) and 16-bit Signed Integer (INT16) Conversion: Processes the hexadecimal input into 16-bit integer formats, both unsigned and signed.

By accommodating various endianness and bit significance scenarios, the Online Hex Converter assists users in accurately interpreting and analyzing hexadecimal data, facilitating effective communication with a wide range of sensors and devices in industrial and IIoT (Industrial Internet of Things) applications. It is really helpful to use when developing/testing applications that would be working on PLCs as most of them use HEX to display data rather integers that are more people-friendly. If you could implement that or you need help with it (as the existing tool is really nice!) I am willing to give a shoulder.

Is their example of this tool in the wild?

web application

Additional context

No response

Validations

  • Check the feature is not already implemented in the project.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
@Cryoza Cryoza added enhancement New feature or request triage labels Jan 8, 2025
@elfrinjo
Copy link

elfrinjo commented Jan 9, 2025

Alternatively, I'd prefer to have hex and decimal functionality included in an extended Ascii-binary tool.

See also #1072

sharevb added a commit to sharevb/it-tools that referenced this issue Mar 9, 2025
sharevb added a commit to sharevb/it-tools that referenced this issue Mar 9, 2025
Convert hex buffer to (un)signed integer/float
Fix CorentinTh#1447
sharevb added a commit to sharevb/it-tools that referenced this issue Mar 10, 2025
Convert hex buffer to (un)signed integer/float
Fix CorentinTh#1447
sharevb added a commit to sharevb/it-tools that referenced this issue Mar 10, 2025
Convert hex buffer to (un)signed integer/float
Fix CorentinTh#1447
@sharevb
Copy link
Contributor

sharevb commented Mar 11, 2025

Hi @Cryoza and @elfrinjo , some hex coder/decoder in #1530 and in my fork : https://sharevb-it-tools.vercel.app/hex-converter
More to come for "text", "ascii" and "unicode" (but also may be interesting to provide some multi decoding like the website you mention)

And if you are interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants