Developer Code Samples & API

Copy-paste Python, JavaScript, and shell code for all 20 developer tools. Use these algorithms in your own projects without any HTTP calls.

# Python (pip)
pip install toolpilot-python
// JavaScript (npm)
npm install toolpilot-js

JSON Formatter

Format JSON data programmatically using built-in language features. All examples produce the same ou...

Python JavaScript Shell

Base64 Encode/Decode

Base64 encoding converts binary data to ASCII text using a 64-character alphabet. Use Python's base6...

Python JavaScript Shell

URL Encode/Decode

URL encoding (percent-encoding) replaces unsafe characters with a % followed by two hex digits. Pyth...

Python JavaScript Shell

Lorem Ipsum Generator

Lorem Ipsum is standard placeholder text used in design and development. Generate it programmaticall...

Python JavaScript Shell

Word & Character Counter

Count words, characters, sentences, paragraphs, and estimate reading time programmatically. These pa...

Python JavaScript Shell

MD5 & SHA Hash Generator

Cryptographic hash functions produce fixed-size digests from arbitrary input. Python's hashlib and t...

Python JavaScript Shell

UUID Generator

UUIDs (Universally Unique Identifiers) are 128-bit identifiers with an astronomically low collision ...

Python JavaScript Shell

Color Converter (HEX/RGB/HSL)

Convert between HEX, RGB, HSL, and HSV color formats programmatically. Python's colorsys module and ...

Python JavaScript Shell

Regex Tester

Regular expressions are powerful pattern-matching tools built into every major language. Python's re...

Python JavaScript Shell

Markdown Preview

Convert Markdown to HTML programmatically using popular parsing libraries. Python's mistune and mark...

Python JavaScript Shell pip: mistune

Password Generator

Generate cryptographically secure random passwords using the secrets module in Python (preferred ove...

Python JavaScript Shell

Unix Timestamp Converter

Unix timestamps represent seconds (or milliseconds) elapsed since January 1, 1970 UTC. Python's date...

Python JavaScript Shell

HTML Entity Encoder/Decoder

HTML entity encoding converts characters like <, >, &, and " into safe HTML representations (&lt;, &...

Python JavaScript Shell

CSS Minifier

CSS minification removes whitespace, comments, and redundant characters to reduce file size without ...

Python JavaScript Shell

Text Diff Checker

Text diff algorithms compare two strings or files and highlight additions, deletions, and changes. P...

Python JavaScript Shell

JSON to CSV Converter

Convert JSON arrays of objects to CSV format for spreadsheets, data analysis, and ETL pipelines. Pyt...

Python JavaScript Shell

Text Case Converter

Convert text between different naming conventions: camelCase for JavaScript, snake_case for Python, ...

Python JavaScript Shell

JWT Decoder

JWT (JSON Web Tokens) consist of three Base64url-encoded parts: header, payload, and signature. Deco...

Python JavaScript Shell

Image to Base64 Converter

Convert images to Base64-encoded data URIs for embedding directly in HTML, CSS, or JSON. This elimin...

Python JavaScript Shell

QR Code Generator

Generate QR codes programmatically for URLs, contact cards, WiFi credentials, and plain text. Python...

Python JavaScript Shell pip: qrcode[pil]

OpenAPI Specification

Download the full OpenAPI 3.0 specification for all tools as a function reference.

Download openapi.json

About These Code Samples

All 20 developer tools on ToolPilot work entirely client-side in your browser — no data is sent to any server. The code samples on these pages show you how to implement the same algorithms in your own Python scripts, Node.js applications, and shell pipelines.

  • All Python examples use stdlib only unless a pip install is noted
  • JavaScript examples are compatible with modern browsers and Node.js 16+
  • Shell examples work on macOS, Linux, and WSL
  • All examples produce identical output to the interactive online tools