Skip to content
TextArray
100% local

Repeat character

Generate a line or block by repeating a character or string pattern.

Output

Repeat character

Build ASCII dividers, rulers and decorative patterns by repeating any character or short string. Enter a single character like a dash, equals sign, asterisk or emoji, set how many times it repeats on each line, and choose the number of lines to generate. The tool instantly outputs your pattern, ready to copy and use in documents, code comments, text files or creative projects.

The three controls work together to let you create exactly what you need. The character field accepts a single symbol, multi-character string, or emoji — so you can build a line of dashes (─), an ASCII box made of equals (═), a row of stars (*), or a repeating emoji chain (🫐🫐🫐). The repetitions field sets how many times that pattern appears on each line, from 1 up to 10,000. The lines field stacks identical rows, so a 40-dash single line becomes a 50-line box divider with one setting.

Use cases include creating comment headers in code ("──────── SECTION NAME ────────"), decorative separators in plaintext documents, ASCII art grids and frames, rulers for measuring text in fixed-width fonts, and visual breaks in plain-text reports. The tally under the output shows the total character count and line count so you can verify the size before copying. Everything runs locally in your browser with no server processing, so the generation is instant.

FAQ

Can I repeat a multi-character string?
Yes. Enter any string in the character field — "ab", "<>", "═══", or emoji like "🫐" — and it will be repeated on every line. A three-character string repeated 20 times produces 60 characters per line.
What happens if I leave the character field empty?
The tool returns an empty output with zero characters and zero lines. Simply enter at least one character to generate a pattern.
How do I make ASCII borders or boxes?
Use characters like "═", "─", "│", "┌" and the related box-drawing characters. You can build a top border with "═" repeated 40 times, then side characters with "│" on as many lines as you need.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and nothing is sent anywhere. Your character, count and lines settings are processed locally only.