Bash Prompt (PS1) Generator
Build your Bash or Zsh prompt visually — drag username, hostname, cwd, git branch, time, exit-code, and prompt-symbol elements, set per-element FG/BG color in 16/256/truecolor, and copy the ready-to-paste PS1 (or Zsh PROMPT) with proper \[ \] non-printing wrappers. Includes bundled parse_git_branch helper, two-line prompts, RPROMPT, PS2/PS3/PS4, title-bar escape, Nerd Font glyphs, live preview, presets, history (localStorage), and shareable URL. 100% client-side.
Build your Bash or Zsh prompt visually — drag username, hostname, cwd, git branch, time, exit-code, and prompt-symbol elements, set per-element FG/BG color in 16/256/truecolor, and copy the ready-to-paste PS1 (or Zsh PROMPT) with proper \[ \] non-printing wrappers. Includes bundled parse_git_branch helper, two-line prompts, RPROMPT, PS2/PS3/PS4, title-bar escape, Nerd Font glyphs, live preview, presets, history (localStorage), and shareable URL. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.