Freedom251 › Rich Text Editor Software
Trix

What Trix is
Trix is a free, open-source WYSIWYG editor for adding rich-text composition to web applications. It is designed for messages, comments, articles, and lists, with an internal document model that translates editing into operations and renders the document in the editor. Its output is terse, consistent HTML. Standard formatting covers bold, italic, links, strikethrough, headings, quotes, code, and bulleted or numbered lists; editing also includes unlimited undo and redo. Users can drop or paste files into the editor, and Trix previews GIF, PNG, WebP, JPG, and JPEG attachments by default. The host application must upload attachment files and provide a permanent URL. For forms, Trix can update an associated hidden input as content changes. Developers can tailor the toolbar and add external actions through editor events and data attributes. It supports evergreen, self-updating desktop and mobile browsers, and is available in ESM and UMD formats, through an npm CDN, or as an npm package. Trix is made by 37signals, the creators of Ruby on Rails, and its GitHub project identifies an MIT license. Its documentation cautions that untrusted HTML placed directly in a trix-editor may run before sanitization.
Who it suits
Trix suits developers adding formatted text editing for messages, comments, articles, or lists in a web application. It is also relevant when a project needs attachment previews, form integration, or a customizable toolbar, with the host application handling file uploads.
What it does well
- Free and open source under an MIT license.
- Supports desktop and mobile evergreen browsers.
- Includes common text formatting and unlimited undo and redo.
- Previews several common image attachment formats automatically.
- Can update a form's hidden input as content changes.
What to know first
- The host application must upload attachments and supply permanent URLs.
- Untrusted HTML placed directly in a trix-editor may run before sanitization.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Trix | Open-source rich text editor; MIT license | Free |
As trix-editor.org lists them, read 9 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the Trix website.
- Include Trix through an npm CDN or install it as an npm package.
- Choose the ESM or UMD format for integration.
- Add the editor to the web application and configure its toolbar or external actions as needed.
- For attachments, arrange for the application to upload files and provide permanent URLs.
Verdict
Choose Trix when a web application needs an open-source rich-text editor with configurable controls and embedded attachments. Look elsewhere if the application cannot take responsibility for uploading files and providing permanent attachment URLs, or if untrusted HTML may be placed directly inside the editor.
Questions
Is Trix free?
Yes. Trix has a free plan priced at $0.
Is Trix open source?
Yes. Its GitHub project identifies it as open source and lists an MIT license.
Which platforms and browsers does Trix support?
Trix is for the web and supports evergreen, self-updating desktop and mobile browsers.
How can developers install or include Trix?
It is available as an npm package, can be included from an npm CDN, and comes in ESM and UMD formats.
Does Trix upload attachments?
Trix accepts dropped or pasted files and can preview several image formats. The host application must upload attachments and provide permanent URLs.
Who makes Trix?
Trix is made by 37signals, the creators of Ruby on Rails.
Facts from Trix's own pages
- Accessibility
- The editor supports labels, aria-label, and aria-labelledby attributes for an accessible name. · github.com, 9 Oct 2026
- Attachment previews
- Trix automatically previews GIF, PNG, WebP, JPG, and JPEG attachments by default. · github.com, 9 Oct 2026
- Attachments
- Trix accepts files dropped or pasted into the editor, but the application must upload them and provide a permanent URL. · github.com, 9 Oct 2026
- Attachments and HTML
- Trix supports embedded attachments and outputs terse, consistent HTML. · trix-editor.org, 9 Oct 2026
- Browser support
- Trix supports evergreen, self-updating desktop and mobile browsers. · github.com, 9 Oct 2026
- Customization
- Developers can customize the toolbar and add external actions through editor events and data attributes. · github.com, 9 Oct 2026
- Document model
- It uses an internal document model to turn editor input into editing operations and render the document back into the editor. · github.com, 9 Oct 2026
- Formatting
- Default formatting includes bold, italic, links, strikethrough, headings, quotes, code, and bulleted and numbered lists. · github.com, 9 Oct 2026
- Forms
- Trix can integrate with forms and update an associated hidden input whenever editor content changes. · github.com, 9 Oct 2026
- Founded
- 2014 · trix-editor.org, 28 Sept 2026
- Installation
- Trix is available in ESM and UMD formats, can be included from an npm CDN, or installed as an npm package. · github.com, 9 Oct 2026
- Integration
- Trix can be included from an npm CDN or installed as an npm package, and is bundled in ESM and UMD formats. · github.com, 9 Oct 2026
- License
- The GitHub project identifies Trix as an open-source project and lists an MIT license. · github.com, 9 Oct 2026
- Maker
- Trix is made by 37signals, the creators of Ruby on Rails. · github.com, 9 Oct 2026
- Open source
- The project is open source and its GitHub repository identifies an MIT license. · github.com, 9 Oct 2026
- Output
- It uses a document model, supports embedded attachments, and outputs terse, consistent HTML. · trix-editor.org, 9 Oct 2026
- Purpose
- Trix is a WYSIWYG editor for composing messages, comments, articles, and lists in web applications. · trix-editor.org, 9 Oct 2026
- Sanitization
- Trix uses DOMPurify to sanitize editor content. · github.com, 9 Oct 2026
- Security guidance
- The documentation warns that untrusted HTML placed directly inside a trix-editor can execute before Trix sanitizes the editor value. · github.com, 9 Oct 2026
- Undo and redo
- Editors support unlimited undo and redo. · github.com, 9 Oct 2026
Where Trix stands on Freedom251
- Rich Text Editor Software#25 of 37