OnWorks favicon

binary2ascii - Online in the Cloud

Run binary2ascii in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command binary2ascii that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



binary2ascii - Convert binary numbers to textual representation


binary2ascii [flags]


binary2ascii reads input consisting of binary numbers and converts them to their textual
representation. Command line flags specify the type and size of the binary numbers and
provide control over the format of the output. Unsigned integers may be written out in
binary, octal, decimal, or hexadecimal. Signed integers may be written out only in binary
or decimal. Floating point numbers may be written out only in decimal, either in standard
or scientific notation. (If you want to examine the binary representation of floating
point numbers, just treat the input as a sequence of unsigned characters.)


Long options may not be available on some systems.

-b,--base <base>
Base for integer conversions: b(binary),d(ecimal), h(exadecimal), o(ctal), or
2,8,10, or 16.

Delimit the output as per the locale. This is the default on systems in which
printf(3) supports delimitation. If delimitation is not enabled, floating point
numbers will have a decimal point and no separation of groups, integers no
delimiters at all. With this option, the decimal separator will be chosen according
to the locale (which, for example, may make it a comma), and non-fractional digits
will be grouped and separated according to the rules for the locale in force. For
American English, this means groups of three digits separated by commas, whereas
for German in Germany it means groups of three digits separated by periods.

Do not delimit the output as per the -d option.

Use exponential (scientific) notation.

print help message

add a linefeed after every 0x0A value if the size is char, short, int, or long,
that is, the sizes that might represent a character.

-L,locale <locale>
Set the LC_NUMERIC facet of the locale to <locale>.

-n,--number <number>
number of items to print per line.

-o,--offset <offset>
byte offset at which to start.

-p,--precision <precision>
the precision to use when printing floating point numbers.

print sizes of types on current machine and related information

-t,--type <type>
set type and size of input

do not mark hexadecimal output with the prefix 0x.

be verbose.

print version information.

minimum field width.

print a summary of the exit status codes.

zero pad on left.

do not zero pad on left


The following are the possible input types. Note that some types may not be available on
some machines.

d double

f float

q long double

sc signed char

ss signed short

si signed int

sl signed long

sq signed long long

uc unsigned char

us unsigned short

ui unsigned int

ul unsigned long

uq unsigned long long


The following values are returned on exit:

The input was successfully converted.

1 INFO The user requested information such as the version number or usage synopsis and
this has been provided.

An error resulted from a failure of the operating system such as an i/o error or
inability to allocate storage.

The program was called with invalid or inconsistent command line flags.

This means that the input was ill-formed, that is that it could not be interpreted
as a number of the required type. For example, if the input is 0x2A and a decimal
value is called for, an INPUT ERROR will be returned since 0x2A is not a valid
representation of a decimal integer.

Use binary2ascii online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 6
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands