.NET WinForms HTML Editor Control

HTML email and template editing for your WinForms app, with direct support from its developers.

Clone from GitHub

The same samples, nothing to unblock

Download samples

The same samples, zipped

Book a live demo

Free, 1:1 with a domain expert

The download and the GitHub repository hold exactly the same samples. Take the zip if you are behind a firewall that blocks GitHub, otherwise clone it: a clone carries no mark of the web, so there is nothing to unblock before Visual Studio will build it.

Install via NuGet
PM> Install-Package SpiceLogic.HtmlEditor.WinForms
Works with
.NET Framework: 4.5, 4.7.2, 4.8 .NET: 5, 6, 7, 8, 9, 10, 11 Visual Studio: 2019, 2022, 2026
01

Ship a Full HTML Editor Without Building One

In production since 2007, ready for .NET 11. Available through one NuGet install, with an optional source code license.

Drop the control onto a form and your app gains a complete HTML composition surface: toolbar, WYSIWYG editing, formatted source view, spell checking, tables, images, and dialogs - the plumbing a team otherwise spends weeks building before the first real feature ships.

SpiceLogic has shipped this control since 2007, and the current line is rebuilt for modern .NET - so a maintained WinForms application gets professional HTML editing without turning the editor into a side project.

SpiceLogic WinForms HTML Editor with its complete toolbars surrounding a clearly labeled sample HTML document and quarterly-performance infographic.
02

Design. Source. Preview. One HTML editor.

Compose visually, refine the HTML, then preview the result. Switch between three views of your document without leaving the editor.

The formatted source view brings your markup into focus with syntax highlighting, line numbers, indentation and wrapped lines. Review the rendered document in read-only preview before saving.

SpiceLogic WinForms HTML Editor showing indented, syntax-highlighted HTML, line numbers and all three mode controls, with source mode selected.
03

Official MCP Server for AI Coding Assistants

SpiceLogic runs an official Model Context Protocol (MCP) server for this control, and it is not tied to one vendor's assistant. Your assistant gets seven product-aware tools: search_docs and get_doc_page for guides, search_api and get_api for exact types and members, plus get_quickstart, get_sample, and get_licensing for setup, code, and licensing. It is a remote HTTPS endpoint, so there is nothing to install on a developer machine and no key to manage.

Read the walkthrough
Claude Code beside a seven-tool MCP map for the WinForms HTML Editor: search documentation, read a guide, find API members, read API reference, set up, get samples, and configure licensing.

More features

04 Paste From Word and Outlook Without the Mess Your users will paste from Word and Outlook - the only question is what your database receives.

Your users will paste from Word and Outlook - the only question is what your database receives. The editor detects Office clipboard content and cleans it automatically: no MsoNormal noise in saved templates, email bodies, or support replies, and no special button for users to remember.

Need stricter rules? The Pasting event is a checkpoint where your own policy runs before anything enters the document.

Microsoft Word document and WinForms HTML editor side by side with an arrow, showing rich formatting preserved after paste
05 Clean HTML Your Database and Email Can Trust One screen saves a fragment into a SQL column; another sends a complete document by email.

One screen saves a fragment into a SQL column; another sends a complete document by email. BodyHtml returns the inner body markup, DocumentHtml the full document with head and doctype - both clean, both ready to store or send, no DOM scraping.

HTML5 output is the default, with overrides available for older render targets.

BodyHtml and DocumentHtml panes shown beneath the editor, both carrying the editor's own clean output
06 Binds to Your Data Source Like Any Other Control Your form code should not care that HTML is involved.

Your form code should not care that HTML is involved. BodyHtml and DocumentHtml are [Bindable(true)] properties, so they bind through DataBindings.Add to a BindingSource, an Entity Framework entity, or a plain object exactly the way a TextBox does - the record loads into the editor, and edits flow back to your object.

The HtmlChanged event fires as the user edits, so you can push the value back with Binding.WriteValue() and keep dirty flags, save prompts and live previews accurate without polling. C# and VB.NET data-binding samples ship with the trial.

C# code binding the editor BodyHtml property to a data source beside the running form showing the bound record
07 Let Users Build Their Own Mail-Merge Templates Templates need fields, not fragile hand-typed tokens.

Templates need fields, not fragile hand-typed tokens. The mail-merge API lets your application define placeholders - customer name, invoice number, renewal date - that users insert at the caret and your code resolves at send time. It turns the editor into a template builder for CRM messages, invoices, and notification emails.

Mail-merge field picker above a template where four placeholder tokens sit inline in the text
08 Take Control of Every Paste Users paste from browsers, spreadsheets, screenshots, and internal tools - and without a policy, saved HTML slowly becomes a support…

Users paste from browsers, spreadsheets, screenshots, and internal tools - and without a policy, saved HTML slowly becomes a support problem. The Pasting event lets your application clean markup, strip tags, reject oversized content, and rewrite links before the paste lands. Your data-quality rules run first, every time.

Code handling the Pasting event before clipboard HTML is inserted into the editor
09 Spell Check Without Deployment Drama Fourteen Hunspell dictionaries are embedded in the control - English (US and GB), German, French, Spanish, Italian, Dutch, Danish, Swedish…

Fourteen Hunspell dictionaries are embedded in the control - English (US and GB), German, French, Spanish, Italian, Dutch, Danish, Swedish, Norwegian, Polish, Czech, and Portuguese (Brazil and Portugal) - so there are no dictionary files to ship. Inline red squiggles, dialog checking, and a per-user custom dictionary work out of the box; any OpenOffice dictionary or your own engine plugs in through ISpellCheckerEngine.

Misspelled word underlined with a red squiggle and spelling suggestions in the WinForms HTML editor
10 Images That Arrive Clean and Never Break the Layout Screenshots in tickets, logos in signatures, product shots in templates - images arrive from files, URLs, and the clipboard.

Screenshots in tickets, logos in signatures, product shots in templates - images arrive from files, URLs, and the clipboard. Oversized pastes are resized automatically with MaxPastedImageWidth, and EmbedLocalImagesAsBase64() turns local references into portable, self-contained HTML when output leaves the machine.

Image Properties dialog in the WinForms HTML editor with source, tooltip, alt text, border, and size fields populated
11 Drive the Whole Editor from Your Own Code Everything the toolbar does, your code can do.

Everything the toolbar does, your code can do. Focused services keep the API discoverable:

  • Content - read, set, transform, and export HTML
  • Formatting and Selection - apply styles and inspect what the user selected
  • StateQuery - drive your own UI state: bold, undoable, inside a table
  • HtmlChanged - dirty flags, save prompts, live previews
  • GetEmailMessageWithLocalImagesEmbedded() - a mail-ready message in one call
C# code using Content, Formatting, Selection, StateQuery, and HtmlChanged services from the editor API
12 The Editor Never Fights Your App's Shortcuts In a real application Ctrl+S, Ctrl+F, and Ctrl+P already mean something.

In a real application Ctrl+S, Ctrl+F, and Ctrl+P already mean something. KeyBindingsManager binds, remaps, or disables any editor action by EditorActionId, so familiar editing shortcuts stay where users expect them - and your application's global commands win whenever they should.

Code showing KeyBindingsManager remapping editor shortcuts in a WinForms application
13 Feels Native in Your Customers' Language Toolbar, tooltips, dialogs, and context menus ship localized in German, French, Spanish, Italian, Dutch, Portuguese, Polish, Czech…

Toolbar, tooltips, dialogs, and context menus ship localized in German, French, Spanish, Italian, Dutch, Portuguese, Polish, Czech, Swedish, Danish, and Norwegian - one Language property switches everything. Spell-check language is configured separately, because the application shell and the authored content do not always match.

A German tooltip on the editor toolbar shown magnified, proving the control's own interface is translated
14 Rich Styling Without Teaching Anyone CSS The visual style builder gives users dialog-driven control over fonts, colors, borders, backgrounds, and spacing - more power than plain…

The visual style builder gives users dialog-driven control over fonts, colors, borders, backgrounds, and spacing - more power than plain rich text, with no raw markup in sight. Your own styling pages can sit beside the built-in ones through IEditorStylePage.

Visual style builder dialog for fonts, colors, borders, background, and spacing in the editor
15 Need it for WPF? Building on WPF instead?

Building on WPF instead? A separate WPF HTML Editor Control exists with its own landing page, documentation, and licensing. Pick the control that matches your UI stack, then test the trial in the application you actually ship.

Supported environments.

.NET Framework

4.5, 4.7.2, 4.8

.NET

5, 6, 7, 8, 9, 10, 11

Visual Studio

2019, 2022, 2026

Terms that have become rare.

01

Your application controls its data.

The built-in editor and spelling review run locally. Your application decides how to store documents and which external resources to load.

02

You buy it once. It is yours.

A true perpetual license, sold this way since 2007. No subscription meter running while you finish the work.

03

One-to-one support from a human domain expert.

Not a chatbot, not a call center. Support is a live conversation with the engineers who build the software. One call away, on Zoom or Teams, free.

From developers who shipped with it.

Mahmoud Moukalled Mahmoud Moukalled Senior Staff Software Engineer, Nikon Precision Inc. Verified via LinkedIn
This control had none of the issues we encountered with other controls. A web search got us to the Spicelogic website, we were looking for an html editor control to replace a very buggy control purchased from another well know company, we downloaded the trial version and tested it and … Also to our surprise, many of our wish list features and workarounds we did with that Control, did exist in the SpiceLogic control; after we purchased the Win HTML Editor control, we contacted tech support multiple times with inquiries and they quickly replied with solutions. Excellent Product and Superb Support. Thumbs up.

Integrating this week? Talk to the engineers who build it.

Every trial and every license includes free live 1:1 sessions on Zoom or Teams. You will talk to a real human, a domain expert who builds this software, and we will help you wire it into your app. No chatbot, no call center, no ticket queue.

Weigh it yourself. The evaluation build is the full control, in your solution, today.

Download samples

The same samples, zipped

Book a live demo

Free, 1:1 with our engineers