At a glance. Clean text turns pasted text into plain text, with 7 steps you can switch on or off. Full screen shows it big on black. Picture studio saves it as PNG, JPG, WebP, SVG or PDF in one of 24 open fonts, from 13 templates and 19 presets. Copy and paste gives 23 Unicode styles. Your text stays in your browser.
How to use the plain text on black background generator
The box at the top is the editor and a black screen in one. Below it, Clean text makes plain text, Picture studio makes an image, Copy and paste lists the styles, CSS gives the code, and Checks tests the contrast and the length.
Type or paste your text
The box at the top is a small black screen. It shows your text in the font and colour you pick. Paste, Clear, Clean text, Copy plain text, Full screen, Share link, Upload a file and Get text from a web page sit under it.
Clean it to plain text
Clean text opens first. It has 7 steps you can switch on or off, such as invisible characters, odd spaces, look-alike letters and curly quotes. Each step says how many it found. Copy the result, save it as a .txt file, or put it back in the box.
Show it big
Press Full screen and the box fills the screen with your text on black. Change the size, the alignment and the colour, and press Esc to leave.
Save a picture
Picture studio draws your text in one of 24 fonts. Start from one of 13 templates, such as a YouTube title, a lower third, an OLED phone wallpaper or a transparent overlay, or one of 19 style presets. Save PNG, JPG, WebP, SVG or PDF.
Copy a style or get the code
Copy and paste lists 23 Unicode styles. CSS writes the font, colour and background for a website. Checks measures the contrast of your picture and the length of your text.
Which tab should you pick?
- Text pasted from somewhere else that behaves oddly: Clean text. It shows what was hidden in it and gives you plain text back.
- A sign, a prompter or a message to show on a phone, tablet or screen: the box at the top, in Full screen.
- A title, thumbnail, wallpaper, overlay or profile picture: Picture studio. It uses a real font and real colours, so it looks the same for everyone.
- A website: CSS. It writes the same font, weight, colours and background for your own stylesheet.
For white-on-black styles to copy, see the white text on black background generator (opens in a new tab). For dark ink on a light page, see the plain text on white background generator (opens in a new tab). For moving text, use the animated text generator (opens in a new tab).
What Clean text does
The text is cleaned line by line in your browser. Each step has a switch, and a note beside it says how many it found in your text.
- Invisible characters. Removes the zero-width space, word joiner, byte-order mark, soft hyphen and similar characters. It keeps the joiner between emoji and the joiners and direction marks in Arabic, Hebrew and Indic text.
- Odd and extra spaces. A no-break, thin, em or ideographic space becomes a normal space. A run of spaces becomes one. The ends of each line are trimmed.
- Look-alike letters. Bold, italic, script, gothic, circled, squared, wide and other look-alike letters go back to A to Z, a to z and 0 to 9.
- Curly quotes. Curly single and double quotes become straight ones. Guillemets are left alone.
- Extra blank lines. Blank lines at the start and end go, and a run of blank lines becomes one.
- Dashes and ellipsis, and Accents. Off to begin with, because they change your words. The first turns en and em dashes into a hyphen and the ellipsis into three dots. The second removes accents, so é becomes e, and spells ß as ss.
Run the same text through it twice and the second pass changes nothing. The tests check this, and check each step on its own.
Show it big
The box uses the Fullscreen API (opens in a new tab). In full screen it draws the text 1.6 times larger than the box size you chose, on the background of your picture, which is black until you change it. The page also asks the browser to keep the screen awake with the Screen Wake Lock API (opens in a new tab). Browsers that do not offer these features simply skip them.
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: title card, youtube title, lower third, story, oled phone wallpaper, profile picture, transparent overlay, quote card, notice sign, terminal line, cream on black, yellow on black, profile header. Fonts sets the typeface and the weight, size, spacing and tilt. Letters sets the colour of each letter (7 ready sets), a 3D edge, a second outline, a gloss, bounce and tilt, all off to begin with. Effects adds colour, gradient, outline, glow, scanlines, an RGB split and glitch slices. Shadows and Borders add depth and frames. Backgrounds sets colour, a pattern, grain, dark edges and the canvas size, takes a photo of your own to put behind the text, and adds up to 24 stickers (star, ring, arrow, square, bolt, heart, sparkle, dot; 8 shapes). Drag the text in the preview to move it. Symbols adds punctuation, marks and accented letters. Export downloads one picture, a ZIP of several sizes or of several texts, copies CSS, HTML or React, writes alt text, and saves your looks as a file. You can keep up to eight looks as My looks on your device.
When there is a photo, the studio checks the contrast of the text against the photo's average colour, so a busy photo can still be hard to read where it is light.
The fonts
There are 24 fonts, all 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): Inter, IBM Plex Sans, Work Sans, DM Sans, Manrope, Space Grotesk, Source Sans 3, Lato, Montserrat, Oswald, Bebas Neue, Anton, Archivo Black, League Gothic, Barlow Condensed, Playfair Display, EB Garamond, Libre Baskerville, Merriweather, Cormorant Garamond, JetBrains Mono, IBM Plex Mono, Space Mono, Courier Prime. Each is one WOFF2 file hosted on this site and loaded with the FontFace API (opens in a new tab) only when you pick it. A font with a single weight shows no weight control. Bebas Neue draws lower-case letters as capitals, and Checks says so. Every file holds the Latin letters, the digits and the common accents. Other alphabets are not promised, and Checks lists the characters of your text that a font cannot draw.
CSS
The CSS tab writes a rule from your studio settings: font, weight, colour, background, outline, glow, shadow, border and spacing. Effects CSS cannot draw, such as scanlines, grain and a colour for each letter, are listed in comments in the rule. It also writes a rule for a whole page in the colours of your look. The rule names the font and includes an @font-face block, and you host the font file on your own server.
Copy and paste styles
Bold, italic, double-struck, monospace, script and gothic use the Mathematical Alphanumeric Symbols (opens in a new tab) block. Pasted styled text carries no font and no colour, and some sites turn it back into plain letters. Unicode defines normalisation forms (opens in a new tab), and the compatibility form NFKC replaces many look-alike characters with the ordinary ones. The tests check that claim for every style. The count of characters depends on the app: most of these characters are two UTF-16 units, which is what the length of a JavaScript string (opens in a new tab) counts. Make a styled line plain again with Clean text.
Contrast
The Checks tab measures the contrast of your picture with the formula in the Web Content Accessibility Guidelines (opens in a new tab). Pure white on pure black scores 21 to 1 by that formula, which is the highest the formula gives. The same tab marks colours that fall under the 4.5 to 1 level for normal text. A picture of text still needs alt text, which the Export tab writes for you.
Licence
The 24fonts allow use in a logo, a poster, a video or a website, including commercial work, and do not allow selling the font file by itself. Each family keeps its designer's copyright, and its licence text is in the Export tab.
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, and no request goes to Google or any other font host.
Frequently asked questions
What does the Plain Text on Black Background Generator do?
It does three things with your text. Clean text turns pasted text into plain text. Full screen shows it big on a black screen. Picture studio saves it as a PNG, JPG, WebP, SVG or PDF picture in one of 24 open fonts. Copy and paste also gives 23 Unicode styles. Everything happens in your browser.
What is plain text?
Plain text is text made of ordinary characters, with no font, colour, size or style attached. The app that shows it decides how it looks. Clean text goes further and removes characters you cannot see, odd spaces, curly quotes and look-alike letters.
What does Clean text remove?
There are 7 steps. Invisible characters such as the zero-width space. Odd spaces, such as the no-break space, plus extra spaces and spaces at the ends of lines. Look-alike letters, such as bold, italic, script, circled and wide letters, which go back to A to Z and 0 to 9. Curly quotes, which become straight quotes. Extra blank lines. Dashes and the ellipsis, and accents, can also be changed, but those two steps start switched off because they change the words you typed.
Will it break my emoji, or text in Arabic, Hebrew or Hindi?
No. Emoji stay. The zero-width joiner is kept when it sits between two emoji, as in a family emoji, and the joiners and direction marks are kept in Arabic, Hebrew and Indic text, where they are part of how the word is written. Accented letters and other alphabets stay as typed unless you switch on Accents.
Why is the text I copied full of characters I cannot see?
Text that comes from documents, web pages, chat apps and fancy-font tools can carry zero-width characters, no-break spaces and look-alike letters. They look like ordinary text, but a search, a spell check or a form may treat them as different characters. The Hidden characters found card lists the ones in your text by their Unicode name and count.
How do I show text full screen on a black background?
Type your text in the box at the top and press Full screen. The box fills the screen with your text on the background of your picture, black by default. Use Text size, Alignment and Text colour to change it, and press Esc or Exit full screen to leave. If your browser does not offer full screen, the button does not appear.
Does the screen stay awake in full screen?
The page asks the browser to keep the screen awake while full screen is open, using the Screen Wake Lock API. Not every browser or device allows it, and this tool does not report whether the request was granted. If your screen still dims, change the sleep setting on your device.
Can I save a picture with a transparent background?
Yes. Open Templates in the Picture studio and pick Transparent overlay, or choose the Transparent overlay preset. Save it as PNG or WebP, which keep transparency. JPG cannot be transparent, so the tool adds a white background to a JPG and tells you so.
Which fonts are there, and can I use them commercially?
There are 24 fonts, all under the SIL Open Font License 1.1, which allows commercial use and does not allow selling the font file by itself. The Export tab in the studio has the WOFF2 file and the licence text of the font you picked.
Can I make a GIF or video of my text?
Not on this page. For moving text, use the Animated Text Generator.
How is this different from the White Text on Black Background Generator?
That page is for white-on-black styles to copy and white-on-black pictures. This one starts with cleaning text to plain, then showing it big or saving it as a picture. Both can make a white-on-black picture.
Does the copy and paste text work on Instagram, TikTok, X or Discord?
Usually, but test it in the app. The styles are ordinary Unicode characters, so most apps keep them, and each app draws them with its own fonts. Some sites normalise text and turn the letter styles back into plain ones. Apps change their rules, and we have not tested every one.
Is my text uploaded?
No. Cleaning, the screen and the pictures are all worked out in your browser. A photo you add is read in your browser and is not uploaded. Your options and My looks are kept in your browser storage. Your text is not saved.
Sources
- Unicode chart, General Punctuation (U+2000) (opens in a new tab)
- Unicode chart, Latin-1 Supplement (U+0080) (opens in a new tab)
- Unicode chart, Braille Patterns (U+2800) (opens in a new tab)
- Unicode chart, Hangul Compatibility Jamo (U+3130) (opens in a new tab)
- Unicode chart, Mathematical Alphanumeric Symbols (U+1D400) (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, FontFace (opens in a new tab)
- MDN, HTMLCanvasElement.toBlob() (opens in a new tab)
- MDN, Fullscreen API (opens in a new tab)
- MDN, Screen Wake Lock API (opens in a new tab)
- W3C, WCAG 2.2, Understanding Contrast (Minimum) (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 style 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. Which characters each font draws is read from the font files themselves.
Last updated: