Convert Markdown to SPIP syntax
Markdown to SPIP turns Markdown text into SPIP syntax, ready to paste into an article. The conversion happens as you type, with no signup.
When to convert Markdown text to SPIP
SPIP has its own formatting syntax: {{bold}}, {italic}, [link->url]. Markdown uses another one, now the most widespread. The tool helps when a text already exists in Markdown and has to be published on a SPIP site:
- an answer from an AI assistant (ChatGPT, Claude, Mistral, Gemini), written in Markdown;
- notes taken in Obsidian, Joplin or a text editor;
- documentation or a README from GitHub or GitLab;
- text written by someone who knows Markdown but not SPIP.
Example: meeting notes converted to SPIP
# Meeting minutes The meeting approved **three items**: 1. the 2027 budget; 2. the schedule, detailed on [the website](https://example.org); - launch in *March* 3. the new charter. | Item | Amount | |---|---| | Printing | €450 | > Next meeting on 12 November.
{{{Meeting minutes}}}
The meeting approved {{three items}}:
-# the 2027 budget;
-# the schedule, detailed on [the website->https://example.org];
-** launch in {March}
-# the new charter.
| {{Item}} | {{Amount}} |
| Printing | €450 |
<quote>Next meeting on 12 November.</quote>
Markdown syntax and the matching SPIP shortcuts
| Markdown | SPIP |
|---|---|
# Title |
{{{Title}}} |
## Subtitle |
{{Subtitle}} |
**bold** |
{{bold}} |
*italic* |
{italic} |
[link](url) |
[link->url] |
- item |
-* item |
1. item |
-# item |
--- |
---- |
`code` |
<code>code</code> |
> quote |
<quote>quote</quote> |
Text[^1] |
Text[[note]] |
***bold*** |
{{ { bold } }} |
~~strikethrough~~ |
<del>strikethrough</del> |
- item |
-** item |
<https://…> |
[->https://…] |
 |
[alt->url] |
| a | b |
|---|---|
| 1 | 2 | |
| {{a}} | {{b}} |
| 1 | 2 | |
Limits of the Markdown to SPIP conversion
- Images. SPIP handles images as documents attached to the article. The converter outputs a link to the image: to display it, upload it to the article, then insert the <imgXX> shortcut SPIP offers.
- Heading levels. SPIP has a single subheading level. Only # becomes one; ## to ###### headings become bold.
- Column alignment. Table markers :--- and :---: are ignored.
- HTML. HTML tags in the Markdown are passed through unchanged.
Privacy: what happens to converted text
The server converts the text and does not save it. A copy stays in your browser so nothing is lost on reload. It is erased seven days after the last edit, or straight away with the Clear button.
The site counts visits, conversions, copies, converted characters and API conversions, with no data that identifies visitors. These figures are public: Stats page.
Frequently asked questions about Markdown and SPIP
Is my text stored on the server?
No. The server converts the text in memory without saving it. It only keeps an anonymous daily counter.
Is the tool free?
Yes, no signup, no advertising. It is free software under the GNU AGPL-3.0 license.
What is the maximum length of text to convert?
100,000 characters per conversion, roughly 15,000 words or 30 pages.
How do I publish a ChatGPT answer in SPIP?
Copy the answer with the assistant's Copy button (ChatGPT, Claude, Mistral…), which gives it in Markdown. Paste it into the left pane, then copy the SPIP result into the article editor.
Does the converted text work with my SPIP version?
Yes for current versions. The output only uses SPIP typographic shortcuts ({{bold}}, {italic}, [link->url], -* and -# lists, tables, <quote>), recognised by SPIP 3 and later.
Can I use Markdown to SPIP offline?
Yes: install it on your machine from the source code.
What is SPIP?
SPIP (Système de Publication pour Internet Partagé) is a free French CMS, common among public institutions and non-profits. It has its own markup syntax.
Markdown to SPIP conversion API
The conversion is also available through an HTTP request: send the raw Markdown, the server answers with the SPIP text. No account, no key.
curl --data-binary @article.md https://markdown2spip.orsal.fr/api/convert
100,000 characters per request, 60 requests per minute. The text is not kept; each call is counted in the statistics, separately from conversions made on the site.
Full description: openapi.json, llms.txt.
A free and open source converter
Markdown to SPIP is free software (AGPL-3.0), developed by Guillaume Orsal. The source code is on GitHub: you can download it, install it to convert offline, modify it and reuse it.