Skip to content

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.

Instant & offlineFree, no accounts

Drag & drop your files

or

WordExcelPowerPointPDFEPUBCSVJSONCode
+135 file formats supported
Batch convertMany files at once
100% privateStays on your device
Works offlineNo connection needed
Preset

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.

01Why

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.

SHdeploy.sh

#!/usr/bin/env bash

set -e

for f in *.txt; do

echo "$f"

done

MDdeploy.md

```bash

#!/usr/bin/env bash

set -e

for f in *.txt; do

echo "$f"

done

```

02Features

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.

local
SHdeploy.sh

# 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.

03Fidelity

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
SHdeploy.sh

set -e

for f in *.txt; do

echo "$f"

done

kept
#!/usr/bin/env bash | cat
kept

$HOME ${name}

# a comment

kept
Wrapped in a fenced code block tagged bash
kept
04FAQ

Shell questions,
answered.

Everything worth knowing before you drop in a shell or bash script.

05More

Other converters.

Working with more than scripts? These convert the same way: privately, in your browser.

SAM to Markdown

.sam

Sequence alignment data.

Convert

MOL / SDF to Markdown

.mol · .sdf

Chemical structure files.

Convert

SMILES to Markdown

.smiles

Molecular structure strings.

Convert

Crystallography to Markdown

.cif

Crystal structure data.

Convert

gettext to Markdown

.po · .pot

gettext translation catalogs.

Convert

XLIFF to Markdown

.xlf · .xliff

Translation interchange files.

Convert

Apple strings to Markdown

.strings

iOS & macOS string tables.

Convert

.NET resx to Markdown

.resx

.NET resource files.

Convert