HTML to TracWiki Converter
Transform HTML into TracWiki markup language
HTML Input
TracWiki Output
About HTML to TracWiki Converter
Convert HTML documents to TracWiki markup format, the wiki syntax used by Trac project management and issue tracking system. TracWiki provides a clean and readable syntax for documentation and collaboration.
Key Features
- Text Formatting: Converts bold, italic, code, and other inline styles
- Headings: Maps HTML headings (h1-h6) to TracWiki heading syntax
- Lists: Supports both ordered and unordered lists with nesting
- Links: Converts external and internal wiki links
- Tables: Generates TracWiki table syntax with headers
- Code Blocks: Preserves code with syntax highlighting support
- Images: Converts images using Image macro syntax
How to Use
- Input HTML: Paste your HTML code or upload an .html file
- Configure Options: Choose link and formatting options
- Review Output: The TracWiki output updates automatically
- Copy or Download: Use the Copy or Download button to save your wiki text
Supported HTML Elements
- Headings: h1-h6 → = through ======
- Text Formatting: strong/b → '''bold''', em/i → ''italic''
- Code: code → `code`, pre → {{{...}}}
- Lists: ul → * bullets, ol → 1. numbered
- Links: a → [url text] or [wiki:page text]
- Images: img → [[Image(src)]] or [[Image(src, alt="text")]]
- Tables: table → ||= header =|| cell ||
- Quotes: blockquote → indented text
- Superscript/Subscript: sup → ^text^, sub → ,,text,,
- Strikethrough: del/s → ~~text~~
- Underline: u → __text__
TracWiki Syntax Examples
= Main Heading = This is a paragraph with '''bold''' and ''italic'' text. * Bullet point 1 * Bullet point 2 * Nested bullet 1. Numbered item 1 1. Numbered item 2 [https://example.com Link text] [wiki:WikiPage Internal link] [[Image(image.jpg, alt="Description")]] ||= Header 1 =||= Header 2 =|| || Cell 1 || Cell 2 || Blockquote text (indented) {{{ #!python code block with syntax highlighting }}}
Common Use Cases
- Trac Wiki: Create wiki pages for Trac project management
- Issue Tracking: Format issue descriptions and comments
- Project Documentation: Write project documentation in TracWiki
- Release Notes: Create formatted release notes
- Meeting Notes: Document meetings in wiki format
- Technical Specs: Write technical specifications
TracWiki Features
- Macros: Support for TracWiki macros like [[Image()]]
- Wiki Links: Internal wiki page linking with [wiki:Page]
- External Links: HTTP/HTTPS links with [url text]
- Code Highlighting: Syntax highlighting with {{{#!language}}}
- Tables: Simple table syntax with || delimiters
- Headings: Multiple levels with = symbols
Tips for Best Results
- Semantic HTML: Use proper HTML elements for accurate conversion
- Clean Structure: Well-structured HTML converts more accurately
- Links: Enable anchors to preserve hyperlinks
- Review Output: Always review and adjust the TracWiki output
- Test in Trac: Test the output in your Trac installation
Privacy & Security
All conversions happen locally in your browser. Your HTML is never uploaded to any server, ensuring complete privacy and security.
