Convert Shell to Markdown.
Drop a .sh or .bash script and get Markdown with the whole script tucked into a fenced bash block. Everything runs in your browser, and the script is never executed.
Drag & drop your files
or
Optimize for AI & RAG
Extra cleanup for LLM ingestion: strip HTML, fix smart quotes, tidy Unicode and spacing.
Add YAML front matter
Prepend a metadata block (title, source, date, word & token counts) for knowledge bases and RAG.
Add table of contents
Build a linked index from the headings. Handy for long documents.
Export RAG chunks (.json)
Split the result into retrieval-ready chunks. Download per file from the result panel.
Most converters quietly upload your documents to a server. This one physically can't.
Automation worth
reading.
A shell script is the recipe behind a deploy, a backup or a build step. Pasting one raw into a runbook loses its monospacing and syntax cues. Converting wraps it in a fenced bash block that stays aligned and legible.
#!/usr/bin/env bash
set -e
for f in *.txt; do
echo "$f"
done
```bash
#!/usr/bin/env bash
set -e
for f in *.txt; do
echo "$f"
done
```
Everything you
actually need.
A shell script in, a clean fenced bash block out, with no server and no account anywhere.
It never leaves your browser
Your .sh or .bash file is read on your own device. Nothing is uploaded to any server, ever.
# Heading
- point one
3 chunks
AI & RAG ready
Optional cleanup, YAML front matter, a table of contents and RAG chunk export.
Works offline
Once the page has loaded you can switch off your connection and it keeps converting.
```bash
echo "hi"
```
Code, preserved
The script is kept byte for byte in a fenced bash block, so every command, flag and quote reads exactly as written.
Unicode safe
Accents, symbols and non-Latin scripts come through intact as UTF-8.
Free, and unlimited
No sign-up, no quotas, no watermarks. Convert one file or a thousand; it all runs the same way, on your own device.
Nothing is
lost.
Honest about what comes through for Shell scripts. These are the same notes the Formats list shows for shell, so the page never drifts from what the converter really does.
Kept
2- Every line of source, byte for byte
- A fenced block tagged bash
Preserved
2- Shebang, pipes and here-docs
- Variable expansions, comments and unicode
set -e
for f in *.txt; do
echo "$f"
done
$HOME ${name}
# a comment
Shell questions,
answered.
Everything worth knowing before you drop in a shell or bash script.
Other converters.
Working with more than scripts? These convert the same way: privately, in your browser.
SAM to Markdown
.sam
Sequence alignment data.
MOL / SDF to Markdown
.mol · .sdf
Chemical structure files.
SMILES to Markdown
.smiles
Molecular structure strings.
Crystallography to Markdown
.cif
Crystal structure data.
gettext to Markdown
.po · .pot
gettext translation catalogs.
XLIFF to Markdown
.xlf · .xliff
Translation interchange files.
Apple strings to Markdown
.strings
iOS & macOS string tables.
.NET resx to Markdown
.resx
.NET resource files.