What this tool does
Flatten multiline CLI snippets, shell continuations, and markdown-fenced command blocks into a single copy-ready line in the browser.
Flatten multiline CLI snippets into a copy-ready one-liner.
// One-line output will appear here
Flatten multiline CLI snippets, shell continuations, and markdown-fenced command blocks into a single copy-ready line in the browser.
Paste multiline CLI text, choose whether to strip code fences or backslashes, and copy the flattened one-line result.
Turn Codex CLI or Claude Code multiline suggestions into a single paste-ready command. Remove trailing shell continuation backslashes before pasting into a terminal or chat. Flatten markdown-fenced CLI snippets into one clean line for docs, tickets, or runbooks.
Turn Codex CLI or Claude Code multiline suggestions into a single paste-ready command.
Remove trailing shell continuation backslashes before pasting into a terminal or chat.
Flatten markdown-fenced CLI snippets into one clean line for docs, tickets, or runbooks.
```sh gh pr create \ --title "Fix tool docs" \ \ --body-file ./.tmp/pr-body.md ```
gh pr create --title "Fix tool docs" --body-file ./.tmp/pr-body.md
Yes. The default mode strips common trailing backslashes used to split long shell commands across lines.
Yes. The tool can remove wrapping triple-backtick fences so the output is ready to paste directly into a terminal or chat.
Yes. Multiline to Oneline works in the browser so you can enter data, review the result, and copy the output without needing a separate desktop app.
Found a bug, hit a confusing edge case, or want another tool? Send quick feedback about Multiline to Oneline.