ANYKS
RU
availablewebsite · tool · server

ACU — ANYKS Convert Utility

Data conversion between formats, hashes, number bases, units of size and time — in the browser at acu.anyks.com or with a single command-line tool on your own machine. The website is served by the program itself in server mode.

01 Formats

What converts into what

From \ toXMLJSONYAMLINICSVCEFSysLogGrok
XML✓✓✓✓✓✓✓✓
JSON✓✓✓✓✓✓✓✓
YAML✓✓✓✓✓✓✓✓
INI✓✓✓✓————
CSV—✓✓—✓———
CEF—✓✓—————
SysLog—✓✓—————

Beyond formats: MD5 and the SHA family, HMAC, Base64, number base conversion, bytes to kilobytes and gigabytes, seconds to minutes, hours and days, date formatting.

02 In the browser

acu.anyks.com — open it and convert

Input on the left, result on the right. Tabs: data containers, hashing, number bases, bytes, seconds, date. The “prettify” switch lays the result out with indentation.

Nothing to install, no sign-up.

Open the converter

apis:                 # YAML
  - name: login
    port: 8080

{ "apis": [           // JSON
  { "name": "login", "port": 8080 } ] }

<apis><api>           <!-- XML -->
  <name>login</name><port>8080</port>
</api></apis>
03 Command line

The same thing on the command line

The tool reads standard input or a file and writes to standard output — handy in scripts and pipelines.

# JSON to indented XML
$ echo '{"Hello": "World!!!"}' | acu -from json -to xml -prettify

# from a file
$ acu -from json -to xml -src ./example.json -prettify

# text to Base64 and back
$ echo 'Hello World!!!' | acu -from text -to base64
$ echo 'SGVsbG8gV29ybGQhISE=' | acu -from base64 -to text

# HMAC SHA-256
$ echo 'Hello World!!!' | acu -from text -to SHA256 -hmac 236bf30c70dc03f69175f030afbe38f3
04 Server

ACU Server: your own converter on your own network

The same program runs as a server and serves the web interface — this is how acu.anyks.com works. Settings live in a JSON file: TCP, TLS or SCTP, IPv4 or IPv6, address, port, certificate.

Service scripts exist for FreeBSD, Linux and Solaris; builds for macOS, Linux, FreeBSD, Solaris and Windows.

Built on AWH

The network server, format codecs, hashes and Grok are all parts of AWH. ACU is the simplest way to see the foundation at work.