Online Code‑128 Barcode Generator - Free Text to Barcode
Generate a horizontal Code‑128 barcode from any string. Download as PNG or SVG. Works offline. For inventory.
UD5 Toolkit
| Decimal | Binary (Two's Comp.) | Hex | Notes |
|---|---|---|---|
| −128 | 1000 0000 | 0x80 | Minimum value (special case) |
| −127 | 1000 0001 | 0x81 | |
| −42 | 1101 0110 | 0xD6 | |
| −1 | 1111 1111 | 0xFF | All bits set |
| 0 | 0000 0000 | 0x00 | Unique zero representation |
| +1 | 0000 0001 | 0x01 | |
| +42 | 0010 1010 | 0x2A | |
| +127 | 0111 1111 | 0x7F | Maximum value |
10000000, and the maximum value +127 is represented as 01111111. Zero is 00000000. The total number of distinct values is 256 (28), with 128 negative values, zero, and 127 positive values. Notice there is one more negative value than positive — this asymmetry is inherent to two's complement and is due to the fact that −128 has no positive counterpart in 8 bits.
00000000 and −0 = 11111111), which complicates arithmetic. Two's complement is one's complement plus one. This extra step eliminates the duplicate zero, extends the negative range by one value (e.g., −128 in 8-bit), and simplifies carry/borrow logic in ALU circuits. Two's complement is the standard in virtually all modern processors including x86, ARM, and RISC-V.
10000000. This is a special case because the absolute value |−128| = 128 cannot be represented as an unsigned 8-bit number (which maxes out at 255, but 128 in 8-bit binary is 10000000). Following the standard conversion: 128 in binary is 10000000, invert to get 01111111, add 1 to get 10000000 — which matches! The MSB being 1 correctly indicates a negative number, and the value works perfectly in arithmetic operations.
11010110 (8-bit) = −128 + 64 + 0 + 16 + 0 + 4 + 2 + 0 = −42.
01111111 (127) + 00000001 (1) in 8-bit yields 10000000 (−128), which is incorrect — this is overflow. Most CPUs set an overflow flag (V flag in ARM, OF in x86) when this happens, allowing software to detect and handle the condition.
int8_t in C), and small embedded systems. Range: −128 to 127.short integers in C. Range: −32,768 to 32,767.int type on most 32-bit and 64-bit platforms. Range: approximately ±2.1 billion.long integers, high-precision timestamps, and large file offsets. Range: approximately ±9.2 × 1018.
Generate a horizontal Code‑128 barcode from any string. Download as PNG or SVG. Works offline. For inventory.
Convert any integer up to 3999 into its Roman numeral representation and vice versa. Quick and accurate. Local.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Convert numbers to Roman numerals and decode Roman numerals back to numbers. Supports up to large values. A fun educational tool running entirely in your browser.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Explore the new two‑value display syntax like `display: block flex`. See what each inner/outer pair does visually.
Enter L*a*b* values and see the corresponding RGB and hex color. Useful for advanced color manipulation.
Create simple 2‑ or 3‑set Venn diagrams by entering comma‑separated lists. Shareable via URL fragment. No account.
Calculate resistor values for transistor fixed bias or voltage divider configuration. Quick quiescent point analysis.
Enter two Unix timestamps and get the exact difference in days, hours, minutes, and seconds. Quick time debugging.
Add N business days to a date, skipping weekends and optionally entering custom holidays. Regional presets.
Enter frame size and image size to calculate mat borders. Visual preview. Precise framing.
Find equivalent colors across DMC, Anchor, and Madeira embroidery floss brands. Enter a code to see matches. Local reference database.
Emojis are scrambled; you must reorder them to form the correct phrase or title. Fun word play.
Write a JavaScript snippet and get a ready‑to‑drag bookmarklet link. With minification and encoding. Easy browser tools.
Calculate how many books, DVDs, or vinyl records fit on a shelf given its length and depth. Useful for home library planning. Local only.
Find out what day number of the year any date is (1‑366). Also shows days remaining. Simple reference.
Calculate tips and split bills easily. Adjust tip percentage and number of people. Perfect for dining out. All computations happen on your device.
A visual guide to common copy‑editing and proofreading symbols. Click a mark to see its meaning. For writers.
Load a video file and grab any frame as a still image. Navigate frame by frame. Download the snapshot. All done on your device.
Toggle OpenType features like liga, smcp, tnum, and see the text update. Support for variable fonts. Typography nerds.
Make your JavaScript code more readable with this online beautifier. Format and indent JS automatically. Works entirely in your browser, protecting your code privacy.
Paste long text and split it into 2, 3, or 4 balanced CSS columns. Preview and copy HTML/CSS. For magazine layouts.
Enter any date and instantly know which quarter it belongs to. Also shows fiscal quarter if start month set.
Find what day of the week any past or future date falls on. Uses Zeller’s congruence. Fun historical reference tool.
Write expressions with clamp(), min(), max(), abs(), sign(), round() and see the computed value. Modern CSS calculations.
Select a ratio (1.25, 1.333, 1.5) and a base size to generate a full typographic scale for h1‑h6. Copy CSS variables.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Write a message and set a future date. It will be hidden until that day. All stored locally with countdown.