Tool, language, and decoders for working with binary data. fq is inspired by the well-known jq tool and language and allows you to work with binary formats the same way you would using jq. In addition, it can also present data similar to a hex viewer, transform, slice, and concatenate binary data, supports nested formats, and has an interactive REPL with auto-completion. It was originally designed to query, inspect and debug codecs and metadata in media files and containers like mp4, FLAC, mp3, and jpeg. But has since been extended to support a variety of formats like executables, and packet captures including TCP reassembly and serialization formats like ASN1 BER, Avro, CBOR, protobuf, and a lot more. In summary, it aims to be something like jq, hexdump, dd and gdb combined into one. fq is still early in development so things might change, be broken, or do not make sense. That also means that there is a great opportunity to help out!

Features

  • Make binaries accessible, queryable and sliceable
  • Nested formats and bit-oriented decoding
  • Quick and comfortable CLI tool
  • Bits and bytes transformations
  • The "f" in fq originate from file(1) and format in FFmpeg terminology
  • Make sure you have go 1.17 or later installed

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow fq

fq Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fq!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Terminals

Registered

2022-05-16