Teknobench
Support

Rich Text Editor

Format text with bold, headings, lists and links, then copy or download clean HTML. The output is sanitized and nothing you type is uploaded anywhere.

The HTML is cleaned before you copy or download it. Only headings, paragraphs, lists, bold, italic, underline, quotes, line breaks and http, https or mailto links are kept.

Words
0
Characters
0

How to use the Rich Text Editor

  1. Type or paste your text into the Editor box. Pasted text arrives as plain text, so the formatting of the source page does not follow it.
  2. Select a word or a line and press a button of the Formatting toolbar: Bold, Italic, Underline, Heading 1, Heading 2, Heading 3, Bullet list or Numbered list. Keyboard shortcuts such as Ctrl+B and Ctrl+I work too.
  3. To add a link, select the words, type or paste the address in the Link address field, and click Insert link.
  4. Read the cleaned HTML in the Output box. The Words and Characters counters update as you type.
  5. Click Copy HTML to copy the markup, Copy text to copy the text without tags, or Download .html to save a complete HTML file.

The formatting toolbar

Bold, Italic and Underline change the selected text. Pressing a button again removes the formatting. Heading 1, Heading 2 and Heading 3 turn the current line into a title of that level. Bullet list and Numbered list start a list from the selected lines.

Clear formatting removes bold, italic, underline and links from the selection, and sets the current block back to a normal paragraph. Use it when text pasted from another program carries styles you do not want. Undo and Redo step back and forward through your changes while the editor has focus.

The toolbar keeps the text selection when you press a button, so you do not need to select the text again after clicking.

Links and what they may point to

A link can point to an address that starts with https://, http:// or mailto:. The tool refuses other addresses, such as javascript: or data: links, and it shows a message if the address is empty or not allowed. Select the text first, then add the address: a link needs a selection to apply to. The address is checked again when the HTML is produced, so an unsafe link cannot reach the output.

What the sanitizer keeps

The output passes through a strict allowlist before you see it. Only these elements survive: paragraphs, Heading 1, Heading 2 and Heading 3, bold, italic and underlined text, bullet and numbered lists, quotes, line breaks and links. Any other element is removed while its text is kept. Scripts, styles, frames, images and form controls are removed together with their content. Every attribute is dropped, including style, class, onclick and target, except the href of a valid link.

The result is therefore a small, predictable HTML that you can paste into a content management system, an email tool or a note-taking application without carrying hidden code along.

Copying and downloading

Copy HTML copies the sanitized markup, ready to paste into a source view. Copy text copies the readable text: each paragraph is on its own line, and list items start with a dash. Download .html saves a complete HTML document with a language attribute and a title, which you can open in any browser.

Limits to keep in mind

The editor relies on the browser’s own editing commands. Their behavior differs a little between browsers, for example in the way they start a new line after a heading. The output is always cleaned, so these differences do not change the markup you copy, but the exact look of the editing area may vary.

This tool is not a word processor. It has no tables, images, colours, fonts, page layout or comments, and it does not save your work: close the page and the text is gone unless you copied it first.

Frequently asked questions

Is my text uploaded to a server?

No. The editor, the sanitizer and the copy and download buttons all run in your browser. Nothing you write is sent, stored or logged by this tool.

Why does the output not keep the colours or fonts I applied?

The output only keeps the elements of the allowlist: paragraphs, headings, lists, bold, italic, underline, quotes, line breaks and links. Colours, fonts and sizes are attributes or styles, and they are removed on purpose, so the HTML stays clean and safe to reuse.

Why did my link not appear?

Check the Link address first. Only addresses beginning with https://, http:// or mailto: are accepted. Also select the text before clicking Insert link, because a link is applied to a selection.

Can I paste text from a web page or a Word document?

Yes. Pasted content is inserted as plain text. You then apply the formatting with the toolbar. This also prevents images or hidden code in the source from running in the page.

Is the HTML safe to publish on a website?

The sanitizer removes scripts, event handlers and dangerous links, so the markup contains only simple formatting. Read the result before you publish it, as with any HTML, and keep a copy of your text, because this tool does not store it.