Skip to content
K Knidox Search…

Computer Science

Logic, number, and bit tools for computer science students.

23 tools

Truth Table Generator

Truth table for any boolean expression.

Two's Complement

Signed binary ↔ decimal conversion.

Boolean Algebra

Evaluate and simplify boolean expressions.

ASCII & Unicode Lookup

Characters ↔ ASCII / Unicode code points.

Bitwise Calculator

AND, OR, XOR, NOT, and bit shifts.

Data Storage Converter

Bytes, KB, MB, GB, TB — binary and decimal.

Base64 Encode & Decode

Convert text to and from Base64.

URL Encode & Decode

Percent-encode text for URLs, or decode it back.

JSON Formatter

Pretty-print, minify, and validate JSON in your browser.

SHA-256 Hash Generator

Generate a SHA-256 hash of any text.

HTML Entity Encode & Decode

Convert characters to HTML entities and back.

IP Subnet Calculator

Network, broadcast, mask, and host range from an IP and CIDR.

Regex Tester

Test a regular expression against text and see matches.

CSV to JSON Converter

Convert CSV to a JSON array and back, in your browser.

Text to Binary Converter

Convert text to 8-bit binary and decode binary back to text.

Caesar Cipher

Encode or decode a Caesar shift cipher, including ROT13.

Vigenère Cipher

Encode or decode a Vigenère cipher with a keyword.

New

Big-O Complexity Reference

Common time complexities with examples and a growth comparison.

New

Hamming Distance Calculator

Count the differing positions between two equal-length strings.

New

Hexadecimal Calculator

Add, subtract, multiply, and divide hexadecimal numbers.

New

IEEE 754 Float Converter

The sign, exponent, and mantissa bits of a 32-bit float.

New

Set Operations Calculator

Union, intersection, and difference of two sets.

New

Gray Code Converter

Convert between binary and reflected Gray code.

About computer science tools

The discrete-math and low-level tools behind computing — truth tables, two’s complement, Boolean logic, ASCII, and bitwise operations, each computed exactly with the working shown.

When to use these tools

Common computer science tasks and the tool that handles each one.

Frequently asked questions

Common questions about computer science — the concepts behind the tools above.

What is the difference between binary, decimal, and hexadecimal?
They are number systems with different bases: decimal is base-10 (digits 0–9), binary is base-2 (only 0 and 1), and hexadecimal is base-16 (digits 0–9 then A–F). Computers store everything in binary, and hexadecimal is a compact way for people to read those binary values, since each hex digit represents exactly 4 bits.
What is a bit and a byte?
A bit is the smallest unit of data, a single 0 or 1. A byte is a group of 8 bits, which can represent 2⁸ = 256 different values and is the standard unit for measuring file and memory sizes.
What does Big-O notation mean?
Big-O describes how an algorithm’s running time or memory use grows as the input size increases, ignoring constant factors. For example, O(n) means the work grows in direct proportion to the input, while O(n²) grows much faster and O(log n) grows very slowly.
What is the difference between ASCII and Unicode?
ASCII is an older 7-bit standard that encodes 128 characters, mainly English letters, digits, and basic symbols. Unicode is a much larger standard that assigns a unique code to characters from nearly every writing system plus emoji, and its UTF-8 encoding is backward-compatible with ASCII.

Other subjects