At a glance. This tool makes white text on a black background two ways. Copy and paste gives 9 Unicode looks, and two of them, the circles and the squares, keep the black with the letter. Picture studio draws your text in one of 24 free fonts, with 10 templates and 19 style presets, and saves PNG, JPG, WebP, SVG or PDF, with a transparent background if you want one. You can put your own photo behind the text. It stays in your browser. The tool also writes the CSS and measures the contrast of your picture.
How to use the white text on black background generator
The black box at the top is the editor, so what you type is what you see. Below it, Picture studio makes an image, Copy and paste lists every look, CSS gives the code, and Checks tests the contrast and the length.
Type on the black screen
The black box at the top is where you type. Paste, Clear, Copy plain text, Upload a file and Get text from a web page sit under it.
Pick picture or text
Picture studio opens first. It draws your text in one of 24 free fonts and saves it as an image. Copy and paste gives 9 Unicode looks for bios, captions and names.
Start from a template or a preset
In the studio, pick one of 10 templates, such as a title card, a thumbnail or a quote, or one of 19 style presets. Then choose a font from the drop-down, add a photo behind the text if you want one, and drag the text where it should sit.
Set the font and colour
Choose a font, a size, an alignment and a text colour above the buttons. In the studio, set weight, spacing, glow, shadow, border and background yourself.
Copy or download
Copy a look, download the picture as PNG, JPG, WebP, SVG or PDF, or copy the CSS. Checks shows the contrast ratio of your picture and the length of the text.
Which output should you pick?
- A bio, caption, comment or name: copy and paste. The result is text, so it can be selected and kept in an edit box.
- A slide, thumbnail, title card or social graphic: the picture. It uses a real font on a real black background, so it looks the same for everyone.
- A website or an app: the CSS. It sets the same font, weight, colours and effects in your own stylesheet.
For one flat colour in any font, see the plain text on black background generator (opens in a new tab) and the plain text on white background generator (opens in a new tab).
Can pasted text stay white on black?
Text is a string of character codes. A colour is not part of it. When you copy text, only the codes travel, and the app that shows them chooses the colour and the font. That is why most "white on black" text cannot be pasted as it looks here.
Two looks are the exception. The Enclosed Alphanumeric Supplement (opens in a new tab) block has letters drawn as a white letter on a black circle and on a black square, and the Dingbats (opens in a new tab) block and Enclosed Alphanumerics (opens in a new tab) have the circled digits. In those, the black is part of the character, so the pair travels together. How a device draws them still depends on its fonts.
The copy and paste looks
Circles and squares restyle capital letters, so they turn your text to capitals. The circles also have the digits 0 to 9. The squares have no digits, so numbers stay as typed. Bold sans, clean sans, monospace and double-struck use the Mathematical Alphanumeric Symbols (opens in a new tab) block. A few double-struck capitals, such as C, H and R, sit in Letterlike Symbols (opens in a new tab) instead, and the tool knows that.
Small caps uses Phonetic Extensions (opens in a new tab), IPA Extensions (opens in a new tab) and Latin Extended-D (opens in a new tab), and X stays a plain x because Unicode has no small capital for it. Wide letters come from Halfwidth and Fullwidth Forms (opens in a new tab), with the ideographic space from CJK Symbols and Punctuation (opens in a new tab) between words. Spaced letters put one ordinary space between letters and three between words. For the shapes on their own, see the circled text generator (opens in a new tab) and the squared text generator (opens in a new tab).
The black screen
The editor draws your text in the font, size, alignment and colour you choose. The colour is white, grey, amber, green or cyan, or any colour you pick yourself. The font and colour are the same ones the Picture studio uses, so what you see is what the picture starts from. Make plain turns styled letters you pasted back into ordinary ones, and the copy looks can put a space between letters. A counter shows characters, words and lines. The Full screen button fills your display with the black screen, using the browser's Fullscreen API (opens in a new tab). If your browser does not offer it, the button is not shown.
Contrast
The Web Content Accessibility Guidelines set the contrast a text colour needs against its background: 4.5 to 1 for normal text and 3 to 1 for large text at level AA (opens in a new tab), and 7 to 1 and 4.5 to 1 at level AAA. Large text is at least 18 point, or 14 point bold. Pure white on pure black comes to 21 to 1. The Checks tab measures the colours of your own picture the same way, so you can see what a grey or amber text colour does to the ratio.
The picture studio
The picture is drawn on a canvas and saved with the browser's own canvas export (opens in a new tab) as a PNG, JPG or WebP. PNG keeps transparency. The SVG is vector markup with the font file placed inside it, so it looks the same anywhere. The PDF holds the finished picture. Many browsers cannot make a canvas of more than about 16.7 million pixels, and the page warns you when your size and resolution go over that.
The studio has nine tabs. Templates starts you from a ready layout. Fonts sets the typeface from a drop-down, and the weight, size, spacing and tilt. Effects adds colour, gradient, outline, glow, scanlines, an RGB split and glitch slices. Shadows and Borders add depth and frames. Backgrounds sets colour, pattern, grain, dark edges and the canvas size, including platform sizes, and takes a photo of your own to put behind the text. Drag the text in the preview to move it. When there is a photo, the studio checks the contrast of the text against it by the photo's average colour, so a busy photo can still be hard to read where it is light. Console draws a terminal window. Symbols adds characters such as © and é to your text. Export downloads one picture, a ZIP of several sizes or of several texts, copies CSS, HTML or React, and saves your looks as a file. You can keep up to eight looks as My looks on your device. In the SVG, glow, shadow, scanlines, grain and dark edges are close approximations of the preview, and glitch slices are left out.
The fonts
The 24 fonts are Bebas Neue, Anton, Oswald, Archivo Black, Fjalla One, Staatliches, Bowlby One, Alfa Slab One, Inter, Montserrat, Poppins, Space Grotesk, Work Sans, Cinzel, Playfair Display, Cormorant Garamond, DM Serif Display, JetBrains Mono, Space Mono, VT323, Press Start 2P, Caveat, Pacifico, Great Vibes. All are under the SIL Open Font License 1.1 (opens in a new tab), obtained through Fontsource (opens in a new tab) from Google Fonts (opens in a new tab). Each is one WOFF2 file hosted on this site as a Latin subset and loaded with the FontFace API (opens in a new tab) only when you pick it. A Latin subset covers English and most Western European text. Other alphabets are not promised. A font with a single weight shows no weight control.
CSS
The CSS tab writes a rule from your studio settings: font, weight, colour or gradient, outline, glow, shadow, border and spacing. Effects CSS cannot draw, such as scanlines and grain, are listed in comments in the rule. It also writes a rule for a whole page with a black background and white text. The rule names the font with a font-family (opens in a new tab) list and includes an @font-face block. You host the font file on your own server, and the licence allows it.
When a look turns back into plain letters
Unicode defines normalisation forms (opens in a new tab). The compatibility form NFKC replaces many look-alike characters with the ordinary ones they are based on. If a site applies it, bold sans, clean sans, monospace, double-struck and wide letters become plain. Circles, squares, small caps and spaced letters are not changed. The tool checks that claim for every look in its tests rather than assuming it.
Length and counting
Most of these characters are outside the Basic Multilingual Plane, so each is two UTF-16 units. That is what the length of a JavaScript string (opens in a new tab) counts, and some sites count that way. The tool counts characters or UTF-16 units and compares the result with a limit you choose. Apps count in different ways and limits change, so confirm in the app.
What to keep as plain text
- Hashtags, usernames, email addresses and links. Styled letters make them a different string.
- Anything people search for. A search for the plain word may not find styled text.
- Anything that must be accessible. Screen readers may skip styled letters or read each by its Unicode name.
- A picture of text. Add the words as alt text or in the caption. The Export tab writes alt text for your picture.
- Your own website. Use real text and a real font, with the CSS tab, not pasted look-alikes.
Licence
The 24 fonts are under the SIL Open Font License 1.1 (opens in a new tab), which allows use in a logo, a poster or a video, including commercial work, and does not allow selling the font file by itself. Each family keeps its designer's copyright. The Export tab shows the copyright line, links the licence text and offers the font file for the font you picked.
Privacy
Everything is worked out in your browser. Your text and any photo you add are not uploaded or saved. Your options and My looks are kept in your browser storage, and nothing leaves your device. The fonts are served from this site.
Frequently asked questions
Can I copy and paste white text on a black background?
Only two of the looks, White on black circles and White on black squares. In those, the black is part of the character, so a white letter on a black disc or square travels with the paste. In every other look, pasted text has no colour at all. The app you paste into decides it, and it will usually be dark text on a light page or the reverse.
Why is my pasted text not white?
Copying text copies characters only, not colours or fonts. Colour comes from the app or page you paste into. If you want white letters on black that look the same everywhere, make a picture with the Picture studio tab, or use the CSS tab on your own website.
How do I make a picture of white text on a black background?
Type your text in the black box, open the Picture studio tab and choose a font. White on black is the starting setting. Open Export, pick PNG, JPG, WebP, SVG or PDF, and download. The Backgrounds tab sets a different colour, a transparent background, or a canvas size for a platform.
Can I get a PNG with a transparent background?
Yes. Set the background to transparent in the Backgrounds tab and export as PNG, which keeps transparency. JPG cannot be transparent, so the tool adds a white background to a JPG and tells you so. Keep in mind that white text on a transparent background cannot be seen on a white page.
What is the contrast ratio of white on black?
21 to 1, the highest a pair of colours can have. The Checks tab works it out for the colours in your picture with the formula in the Web Content Accessibility Guidelines, and shows whether it passes the level AA and AAA thresholds for normal and large text. It measures the main text colour only, so a glow or gradient is not counted.
Which fonts are included, and are they free?
24 fonts, all under the SIL Open Font License 1.1: headline, clean sans, serif, code and handwritten faces. They are hosted on this site, so nothing is loaded from Google. The licence allows use in a picture, a logo or a video, including commercial work, and does not allow selling the font file by itself. The Export tab has the WOFF2 file and its licence for the font you picked.
Can I use a white text on black picture in a thumbnail, a video or a slide?
Yes. Pick a canvas size in the Backgrounds tab or the ZIP of sizes in the Export tab, then download the file. The fonts are open licence, so there is no font fee. Check the rules of the platform for image size and file type, because they change.
Does the copy and paste text work on Instagram, TikTok, X or Discord?
Usually, but test it in the app. These looks are ordinary Unicode characters, so most apps keep them, and each app draws them with its own fonts. Some sites normalise text and turn mathematical and wide letters back into plain ones. Circles, squares, small caps and spaced letters are not changed by that. Apps change their rules, and we have not tested every one.
Why do some letters or numbers stay plain?
The squares, small caps and some other looks do not have every character. The squares have no digits, and small caps have no digits and no x. Accented letters and other alphabets have no look-alike in these blocks. They stay as typed, and the row says which characters were left. The picture studio draws accented Latin letters in every font.
Is my text uploaded?
No. Everything is worked out in your browser, including the pictures. A photo you add is read in your browser and is not uploaded. It is not kept in share links or My looks. Your options and My looks are kept in your browser storage. Your text is not saved.
Sources
- W3C, WCAG 2.2, Understanding Contrast (Minimum) (opens in a new tab)
- Unicode chart, Enclosed Alphanumeric Supplement (U+1F100) (opens in a new tab)
- Unicode chart, Enclosed Alphanumerics (U+2460) (opens in a new tab)
- Unicode chart, Dingbats (U+2700) (opens in a new tab)
- Unicode chart, Mathematical Alphanumeric Symbols (U+1D400) (opens in a new tab)
- Unicode chart, Letterlike Symbols (U+2100) (opens in a new tab)
- Unicode chart, Phonetic Extensions (U+1D00) (opens in a new tab)
- Unicode chart, IPA Extensions (U+0250) (opens in a new tab)
- Unicode chart, Latin Extended-D (U+A720) (opens in a new tab)
- Unicode chart, Halfwidth and Fullwidth Forms (U+FF00) (opens in a new tab)
- Unicode chart, CJK Symbols and Punctuation (U+3000) (opens in a new tab)
- Unicode Standard Annex #15, Normalization Forms (opens in a new tab)
- MDN, String length (UTF-16 code units) (opens in a new tab)
- MDN, font-family (opens in a new tab)
- MDN, FontFace (opens in a new tab)
- MDN, Fullscreen API (opens in a new tab)
- MDN, HTMLCanvasElement.toBlob() (opens in a new tab)
- SIL Open Font License 1.1 (opens in a new tab)
- Fontsource, font catalogue and licences (opens in a new tab)
Whether a look survives normalising is checked against NFKC in our tests. How an app or a device draws a character is not something we can test everywhere, and apps change what they accept.
Last updated: