EditSafely

Draw ASCII Waves

Plot sine, square, triangle or sawtooth waveforms in ASCII. Runs entirely in your browser, so your data never leaves your device.

Output

The result appears here as you type.

Options

How to use Draw ASCII Waves

  1. 1. Choose the Waveform. Select Sine, Square, Triangle or Sawtooth to pick which waveform shape the tool plots across the grid.
  2. 2. Set Width and Amplitude. Set Width for how many characters wide the plot spans and Amplitude for how tall the wave swings vertically above and below its center line.
  3. 3. Set Periods. Set Periods to how many full cycles of the waveform should repeat across the plotted width, with more periods packing the wave tighter.
  4. 4. Copy the plotted wave. Copy the finished ASCII plot and paste it into documentation or a comment describing signal shapes.

When to use Draw ASCII Waves

Draw ASCII Waves plots sine, square, triangle or sawtooth waveforms as a text based chart, the kind of simple oscilloscope style visualization useful when you want to illustrate a signal shape without a graphics library. Adjust the shape, width, amplitude and period count to match what you're demonstrating.

  • Illustrating signal shapes in documentation. A hardware or audio processing guide explains the difference between sine, square and sawtooth signals and needs a plain text diagram to go with the explanation. Plotting each waveform here gives a lightweight visual for the docs.
  • Adding a visual to a terminal audio tool. A command line synthesizer or signal generator wants to show what waveform a user selected without a graphical display. Generating the matching ASCII plot gives instant visual feedback in the terminal.
  • Teaching waveform basics in a text lesson. An electronics or DSP course explains periods and amplitude and wants students to see how changing each parameter reshapes the plotted wave. Adjusting the settings here shows the effect immediately.
  • Sketching a signal shape for a bug report. You're describing an unexpected signal pattern from a sensor or audio glitch in a bug report and want a rough visual reference. Plotting a similar waveform helps illustrate the shape you observed.

Examples

Sine wave

Output

  ***       ***

About the Draw ASCII Waves tool

Draw ASCII Waves does its work locally, right in the browser. Plot sine, square, triangle or sawtooth waveforms in ASCII. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the ASCII Tools collection on EditSafely, a set of 81 small, focused ASCII utilities that share the same instant, private workspace.

You can shape the output with 4 settings, including Waveform, Width, Amplitude and Periods, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Draw ASCII Waves cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How do I get a different result?

Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.