Convert Wiki to Textile

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

Wiki vs Textile Format Comparison

Aspect Wiki (Source Format) Textile (Target Format)
Format Overview
Wiki
Wiki Markup Language

Generic wiki markup format based on MediaWiki syntax, designed for collaborative web content creation. Uses distinctive notation including == headings ==, '''bold''', ''italic'', [[links]], and structured table syntax to produce richly formatted wiki pages.

Wiki Markup Collaborative
Textile
Textile Markup Language

A lightweight markup language originally created by Dean Allen in 2002 for web publishing. Textile converts human-readable text into well-formed HTML and is popular in platforms like Redmine, Textpattern CMS, and Ruby on Rails applications. Known for its concise formatting syntax.

Lightweight Markup Web Publishing
Technical Specifications
Structure: Plain text with wiki markup syntax
Encoding: UTF-8
Format: Text-based markup language
Compression: None (plain text)
Extensions: .wiki, .mediawiki, .txt
Structure: Plain text with Textile markup
Encoding: UTF-8
Format: Lightweight markup language
Compression: None (plain text)
Extensions: .textile
Syntax Examples

Wiki uses wiki-style markup:

== Section Heading ==
'''Bold text''' and ''italic''
* Bullet list item
# Numbered list item
[[Internal Link|Display Text]]
{{Template:Name}}

Textile uses concise markup:

h2. Section Heading

*Bold text* and _italic_
* Bullet list item
# Numbered list item
"Display Text":http://example.com
|_. Header |_. Header |
Content Support
  • Hierarchical headings (levels 1-6)
  • Bold, italic, underline formatting
  • Bulleted and numbered lists
  • Wiki-style tables with headers
  • Internal and external hyperlinks
  • Image embedding and file references
  • Categories, namespaces, templates
  • References and footnotes
  • Automatic table of contents
  • Redirects and interwiki links
  • Headings (h1. through h6.)
  • Bold, italic, strikethrough, superscript
  • Ordered and unordered lists
  • Simple pipe-delimited tables
  • Inline hyperlinks with custom text
  • Image embedding with alignment
  • Block quotes and code blocks
  • CSS class and style attributes
  • Footnotes
  • Definition lists
Advantages
  • Powers Wikipedia and many wikis globally
  • Rich cross-referencing capabilities
  • Collaborative editing with revision history
  • Extensive template and macro system
  • Automatic table of contents
  • Large community and documentation
  • Clean, minimal syntax
  • Direct CSS class and style support
  • Produces well-formed XHTML output
  • Built into Redmine and Textpattern
  • Easy to learn for web authors
  • Good inline formatting control
Disadvantages
  • Complex table syntax
  • Requires wiki engine to render
  • Limited use outside wiki platforms
  • Steep learning curve for templates
  • No native print support
  • Smaller community than Markdown
  • Fewer tool and editor integrations
  • Less portable than Markdown
  • Limited nested list support
  • Declining adoption in new projects
Common Uses
  • Wikipedia and encyclopedia articles
  • Corporate knowledge bases
  • Technical documentation wikis
  • Community-driven reference sites
  • Open-source project documentation
  • Redmine issue tracking and wiki pages
  • Textpattern CMS content
  • Ruby on Rails application content
  • Blog posts and web articles
  • Project documentation in Redmine
Best For
  • Collaborative web content
  • Interlinked documentation
  • Knowledge bases with categories
  • Wikipedia-style articles
  • Redmine project documentation
  • Web content with CSS styling needs
  • Quick XHTML generation
  • Textpattern CMS publishing
Version History
Introduced: 2002 (MediaWiki project)
Current Version: MediaWiki 1.42 (2024)
Status: Actively maintained
Evolution: Ongoing feature updates
Introduced: 2002 (Dean Allen)
Current Version: Textile 2 (RedCloth 4.x)
Status: Stable, maintained
Evolution: Incremental improvements
Software Support
MediaWiki: Native rendering engine
Wikipedia: Primary content format
Pandoc: Full conversion support
Other: Any text editor for source editing
Redmine: Built-in Textile support
Textpattern: Default markup language
RedCloth: Ruby Textile processor
Pandoc: Full conversion support

Why Convert Wiki to Textile?

Converting Wiki markup to Textile format is valuable when migrating content from a MediaWiki-based platform to systems that use Textile as their native markup language. Redmine, one of the most popular open-source project management tools, uses Textile for its wiki pages and issue descriptions, making this conversion essential when transferring wiki knowledge bases into Redmine projects.

Wiki and Textile share the fundamental concept of being lightweight markup languages that produce formatted HTML, but they differ significantly in syntax. Wiki uses == for headings, ''' for bold, and [[ ]] for links, while Textile uses h2. for headings, * for bold, and a quoted link syntax. The conversion maps each wiki construct to its closest Textile equivalent, preserving the document structure and formatting while adapting to the target syntax.

Textile offers some capabilities that wiki markup does not natively support, such as inline CSS class and style attributes, which allow precise control over HTML output. This makes Textile well-suited for web publishing scenarios where visual presentation matters. After conversion, you can enhance the Textile output with CSS styling that would not have been possible in the original wiki format.

The Textile markup language, created by Dean Allen in 2002, generates clean, well-formed XHTML from simple text notation. While its popularity has been somewhat eclipsed by Markdown in recent years, Textile remains firmly embedded in the Redmine ecosystem and continues to be used in Textpattern CMS and various Ruby on Rails applications. Converting wiki content to Textile ensures compatibility with these platforms and their associated workflows.

Key Benefits of Converting Wiki to Textile:

  • Redmine Compatibility: Use wiki content directly in Redmine projects
  • CSS Styling: Add inline CSS classes and styles to content
  • Clean XHTML: Textile produces well-formed, valid XHTML output
  • Textpattern CMS: Publish content in Textpattern-based websites
  • Ruby Integration: Use content in Ruby on Rails applications
  • Concise Syntax: Textile markup is compact and easy to maintain
  • Formatting Preservation: All major formatting elements carry over

Practical Examples

Example 1: Wiki Article to Textile

Input Wiki file (article.wiki):

== Project Overview ==
'''ProjectX''' is an [[open source]] tool for
''automated testing'' of web applications.

=== Features ===
* Cross-browser testing
* Parallel test execution
* [[CI/CD|Continuous integration]] support

[[Category:Testing]]

Output Textile file (article.textile):

h2. Project Overview

*ProjectX* is an open source tool for
_automated testing_ of web applications.

h3. Features

* Cross-browser testing
* Parallel test execution
* Continuous integration support

Example 2: Wiki Table to Textile Table

Input Wiki file (comparison.wiki):

== Server Comparison ==

{| class="wikitable"
|-
! Server !! CPU !! RAM !! Storage
|-
| '''Production''' || 8 cores || 32 GB || 500 GB SSD
|-
| '''Staging''' || 4 cores || 16 GB || 250 GB SSD
|-
| '''Development''' || 2 cores || 8 GB || 100 GB SSD
|}

Output Textile file (comparison.textile):

h2. Server Comparison

|_. Server |_. CPU |_. RAM |_. Storage |
| *Production* | 8 cores | 32 GB | 500 GB SSD |
| *Staging* | 4 cores | 16 GB | 250 GB SSD |
| *Development* | 2 cores | 8 GB | 100 GB SSD |

Example 3: Wiki Documentation to Redmine Textile

Input Wiki file (setup.wiki):

=== Setup Instructions ===

# Clone the [[repository]]
# Install '''dependencies''' using npm install
# Copy .env.example to .env
# Run npm start

{{Note|Make sure Node.js 18+ is installed.}}

See also: [[Troubleshooting]], [[FAQ]]

Output Textile file (setup.textile):

h3. Setup Instructions

# Clone the repository
# Install *dependencies* using @npm install@
# Copy @.env.example@ to @.env@
# Run @npm start@

p(note). Make sure Node.js 18+ is installed.

See also: Troubleshooting, FAQ

Frequently Asked Questions (FAQ)

Q: What is Textile markup?

A: Textile is a lightweight markup language created by Dean Allen in 2002 that converts simple text notation into clean XHTML. It uses concise syntax like *bold*, _italic_, h2. for headings, and pipe-delimited tables. Textile is the default markup in Redmine, Textpattern CMS, and is supported by various Ruby on Rails applications.

Q: How does wiki bold/italic map to Textile?

A: Wiki uses triple apostrophes (''' ''') for bold and double apostrophes ('' '') for italic. In Textile, bold is indicated with asterisks (*bold*) and italic with underscores (_italic_). The conversion automatically translates between these notations, preserving all emphasis formatting in the output.

Q: Can I use the Textile output in Redmine?

A: Yes, the converted Textile output is fully compatible with Redmine's wiki pages, issue descriptions, and comments. Redmine uses Textile as its primary markup format, so you can paste the converted content directly into Redmine and it will render correctly with all headings, lists, tables, and formatting intact.

Q: How are wiki tables converted to Textile?

A: Wiki tables using {| |} syntax are converted to Textile's pipe-delimited table format. Header cells (!) become |_. cells, and regular cells (||) become | cells. The Textile table format is simpler and more readable than wiki table syntax, making the output easy to edit and maintain.

Q: What happens to wiki links in Textile?

A: Internal wiki links ([[Page Name]]) are converted to plain text references since Textile does not have an equivalent internal linking mechanism. External links are converted to Textile's link syntax ("link text":http://url). If the target platform (like Redmine) supports wiki links, you can manually add them using the platform's native syntax.

Q: Is Textile still actively used?

A: While Textile has been largely overshadowed by Markdown in new projects, it remains actively used in the Redmine ecosystem (one of the most popular open-source project management tools), Textpattern CMS, and existing Ruby on Rails applications. For these platforms, Textile is the standard markup format and continues to be well-supported.

Q: How are wiki code blocks handled in Textile?

A: Inline code marked with <code> tags in wiki is converted to Textile's @ inline code notation. Block-level code sections are wrapped in bc. (block code) or pre. (preformatted) blocks in Textile. Both formats preserve the code content without any formatting interpretation.

Q: Can Textile handle CSS styling from wiki content?

A: Textile actually exceeds wiki markup in CSS support. While wiki relies on class="wikitable" and similar attributes, Textile allows inline CSS classes and styles on any element using parentheses for classes and curly braces for styles. After conversion, you can add CSS styling that was not possible in the original wiki source.