Skip to main content

Online ABC Editor

Write, refactor, and download ABC source in the browser with completions, find, and format helpers.

Need custom conversion?

Completions appear as you type; press Ctrl+Space to open the list. Tab expands snippets where available. Find: Ctrl+F (Cmd+F on Mac). Format: toolbar button or Ctrl+Shift+B for supported languages.

Choose editor font size in pixels

Write, refactor, and download ABC source in the browser with completions, find, and format helpers.

Starter file

// ABC — starter
// 1) replace body
// 2) download with correct extension

main() {
}

Unit-style check

assert equal(expected, actual)
assert length(items) > 0

Variables

name = "value"
count = 0

Branching

if condition {
  action()
} else {
  fallback()
}

Loops

for item in collection {
  process(item)
}

Comments

// line comment

Parse → transform → emit

// ABC pipeline sketch
const input = readLines();
const output = input
  .map(line => line.trim())
  .filter(Boolean)
  .map(transform);
writeLines(output);

Error handling wrapper

// ABC
function runSafely(task) {
  try {
    return { ok: true, value: task() };
  } catch (err) {
    return { ok: false, error: String(err) };
  }
}

Does ABC code run on ConversionTab servers?
No. Editing happens in your browser. Download the file and run it in your usual compiler, runtime, or platform.
Can I change theme and font size?
Yes. Use the toolbar above the editor; choices persist in local storage for your browser profile.