Black Bar Text Generator
Generate redacted black bar text instantly. Create censored, classified-style text with β blocks. Copy Unicode or download as PNG image.
About
Redacted text uses solid black rectangles (Unicode Full Block U+2588 β) to obscure content. Government agencies, legal departments, and FOIA responses rely on this convention to comply with privacy statutes while preserving document structure. A manual approach - replacing each character by hand - introduces errors: inconsistent bar widths expose word length, partial coverage leaks character ascenders, and copy-paste from images fails entirely. This tool maps each source character to its corresponding block element with precise width matching, producing output that is both visually uniform and structurally consistent across monospaced and proportional typefaces.
Two output modes exist. The Unicode mode generates copyable text using U+2588 FULL BLOCK characters, preserving spaces and line breaks for direct paste into documents, emails, or chat. The image mode renders redaction on a Canvas element with configurable font size, producing a downloadable PNG where character geometry is permanently obscured. Note: Unicode block output assumes the recipient's font renders β at full em-width. Some CJK or decorative fonts may produce gaps. For guaranteed visual fidelity, use the PNG export.
Formulas
The redaction mapping function transforms each character in the source string S to its block equivalent based on the selected mode m.
Where S is the input string, m is the redaction mode, w is an individual word token, and len(w) returns the character count of token w. The β symbol represents Unicode code point U+2588 (FULL BLOCK). In PARTIAL mode, only the first character of each word remains visible. Whitespace characters (spaces, tabs, newlines) are always preserved to maintain document structure.
For PNG export, the canvas rendering computes bar width as: barWidth = measureText(w).width, and draws a filled rectangle at the text baseline offset by the font's ascent metric.
Reference Data
| Unicode Char | Code Point | Name | Typical Use |
|---|---|---|---|
| β | U+2588 | Full Block | Complete character redaction |
| β | U+2589 | Left Seven Eighths Block | Near-full redaction |
| β | U+258A | Left Three Quarters Block | Partial cover |
| β | U+258B | Left Five Eighths Block | Decorative redaction |
| β | U+258C | Left Half Block | Half-width censor |
| β | U+258D | Left Three Eighths Block | Thin bar effect |
| β | U+258E | Left One Quarter Block | Minimal obstruction |
| β | U+258F | Left One Eighth Block | Line/border element |
| β | U+2590 | Right Half Block | Right-aligned censor |
| β | U+2591 | Light Shade | Partial/light redaction |
| β | U+2592 | Medium Shade | Medium redaction hint |
| β | U+2593 | Dark Shade | Heavy but visible redaction |
| β¬ | U+2B1B | Black Large Square | Emoji-style censor |
| β | U+25A0 | Black Square | Geometric censor mark |
| [REDACTED] | - | Text Placeholder | Legal/FOIA standard label |
| βββββ | U+2588 Γ n | Continuous Block Run | Word-length redaction bar |
| XΜΆXΜΆXΜΆ | U+0336 combining | Strikethrough overlay | Visible-but-crossed text |
| π | U+1F512 | Lock Emoji | Informal content lock indicator |