Guide & Documentation

Panduan & Dokumentasi

How to use One Code — no install, no account; most tools need no server.

Cara menggunakan One Code — tanpa instal, tanpa akun; sebagian besar tools tidak butuh server.

Last updated: July 2026

Terakhir diperbarui: Juli 2026

No install needed. Open any tool directly in your browser at code.lancar.id. All tools are free and work offline after the first load.

1. Getting Started

From the homepage, click any tool card to open it. Each tool loads instantly with the content you last used (your editor content is auto-saved to your browser's encrypted local storage).

Use the sun/moon button in the top-right corner to toggle between Light and Dark mode. Your preference is saved automatically.

Use the EN / ID toggle in the header to change the interface language. Your choice is remembered and applied before the page paints, so the copy never flashes in the other language.

2. Development Tools

REST API Client /restapi/

A full-featured HTTP client that runs in your browser.

  • Request Builder — choose method (GET, POST, PUT, DELETE…), set URL, add headers and body
  • Environments — define variables (e.g. {{BASE_URL}}, {{TOKEN}}) and switch between environments (dev, staging, prod)
  • Auth — supports Bearer token, Basic auth, and API key injection
  • Collections — save and organize frequently used requests
  • History — automatically logs your last requests for quick replay
  • Test Scripts — write post-response assertions in JavaScript

JSON Viewer /json/

  • Paste or type JSON — the tree view updates in real-time
  • Switch between Tree, YAML, and CSV views via the tabs above
  • Use Search (Ctrl+F) to filter nodes in tree view
  • Click any node path to copy it to clipboard
  • Use Fetch URL to load JSON directly from a URL
  • Sort keys A→Z with the Sort button

Viewer Tools /javascript/ /html/ /css/ /xml/ /text/

All code viewer tools share a consistent interface:

  • Beautify — format code with proper indentation (Ctrl+Shift+F)
  • Minify — compact the code to reduce size
  • Find — open the in-editor search bar
  • Import — load a file from your device
  • Export — save the current content as a file
  • Copy — copy all content to clipboard
  • Clear — reset the editor (with confirmation)

The HTML Viewer additionally provides a live preview panel and viewport size presets (Desktop / Tablet / Mobile).

The Text Toolkit includes transform operations (upper/lower/title case, trim, sort lines, deduplicate) and a side-by-side diff comparison mode.

Markdown ↔ HTML /markdown-html/

Convert in both directions, with a live preview beside the editor.

  • Preview — GitHub-flavoured Markdown rendered as you type
  • HTML — switch tabs to read, copy, or save the generated markup
  • From HTML — paste markup into the editor to convert it back to Markdown
  • Export document — download a standalone HTML file with typography, container width, font, and an optional table of contents and theme toggle

3. Security & Identity Tools

Hash Generator /hash/

Type or paste text — all hash values update in real time as you type.

  • Algorithms: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
  • Use the Verify tab to check if a string matches a known hash
  • Click the copy icon next to any hash row to copy that specific value

Transcode /transcode/

Encode and decode between formats. Toggle the mode switch to flip between encode and decode.

  • Base64 — standard Base64 encoding/decoding
  • URL Encode — percent-encoding for query strings
  • Hex — UTF-8 text to/from hexadecimal
  • HTML Entities — escape/unescape HTML special characters
  • JWT Decode — inspect JWT header and payload without verification

Encryptor /encryptor/

  • Enter your text and a passphrase, then click Encrypt
  • The output is a Base64-encoded AES-256-GCM ciphertext
  • To decrypt, paste the ciphertext and the same passphrase, then click Decrypt
  • Use Swap to move output back to input for chained operations
  • Keyboard: Ctrl+Enter to encrypt, Ctrl+Shift+Enter to decrypt

Signer & Verifier /signer/

  • Enter a message and a secret key, click Sign to generate an HMAC-SHA256 signature
  • To verify, paste the message, key, and signature — click Verify
  • Keyboard: Ctrl+Enter to sign, Ctrl+Shift+Enter to verify

SSL Toolkit /ssl/

Three tools in one, accessible via the pill tabs:

  • Decode Certificate — paste a PEM certificate to inspect subject, issuer, validity dates, serial, SANs, and signature algorithm
  • Generate CSR — fill in the form to generate a Certificate Signing Request and private key (RSA 2048-bit, browser-side)
  • Key Matcher — paste a certificate and private key to verify they are a matching pair

4. Keyboard Shortcuts

ShortcutActionAvailable in
Ctrl+Shift+FBeautify codeCSS, HTML, JS, JSON viewers
Ctrl+FFind in editor / tree searchAll viewers, JSON tree
Ctrl+EnterEncrypt / Sign / RunEncryptor, Signer, JS Viewer
Ctrl+Shift+EnterDecrypt / VerifyEncryptor, Signer
Ctrl+EnterRefresh live previewHTML Viewer
EscapeClose modal / dialogAll tools with modals

5. Privacy & Data

Everything you enter into any tool stays in your browser only. No data is ever sent to any server. Editor content is saved locally using AES-256-GCM encryption.

See the full Privacy Policy for details on how browser storage works and what (very little) data is stored.

6. Tips & Tricks

  • Auto-save — editor content is saved automatically as you type. Refreshing the page restores your last session.
  • Import & Export — use the Import button to load any text file, and Export to save your work as a file.
  • Offline use — once loaded, tools work without an internet connection (except REST API Client, JSON Fetch, and Google Fonts).
  • Theme — toggle Light/Dark with the sun/moon icon. Your choice persists across all tools.
  • Multiple tabs — each tool is a separate URL — open several in different tabs simultaneously.
  • REST API environments — wrap variable names in double curly braces: {{VARIABLE}} — they are replaced at request time from the selected environment.

7. Browser Support

One Code requires a modern browser with support for:

  • ES2020 JavaScript (dynamic import, optional chaining, nullish coalescing)
  • WebCrypto API (AES-GCM, HKDF, SubtleCrypto digest)
  • CSS Custom Properties (variables)
  • localStorage

Recommended: Chrome 90+, Firefox 90+, Safari 15+, Edge 90+.

Internet Explorer is not supported.

8. Getting Help

One Code is built and maintained by PT Lancar Inovasi Digital. If a tool misbehaves or you want to suggest one, email contact@lancar.id. For security issues, follow /.well-known/security.txt instead of the general address.

Tidak perlu instal. Buka tool apapun langsung di browser Anda di code.lancar.id. Semua tool gratis dan bisa digunakan offline setelah pertama kali dimuat.

1. Memulai

Dari halaman utama, klik kartu tool mana saja untuk membukanya. Setiap tool memuat secara instan dengan konten terakhir yang Anda gunakan (konten editor disimpan otomatis ke penyimpanan lokal terenkripsi di browser Anda).

Gunakan tombol matahari/bulan di pojok kanan atas untuk beralih antara mode Light dan Dark. Preferensi Anda disimpan otomatis.

Gunakan tombol EN / ID di header untuk mengubah bahasa antarmuka. Pilihan Anda diingat dan diterapkan sebelum halaman dilukis, jadi teksnya tidak pernah berkedip dalam bahasa yang lain.

2. Development Tools

REST API Client /restapi/

HTTP client lengkap yang berjalan di browser Anda.

  • Request Builder — pilih metode (GET, POST, PUT, DELETE…), atur URL, tambahkan header dan body
  • Environments — definisikan variabel (mis. {{BASE_URL}}) dan beralih antar environment
  • Auth — mendukung Bearer token, Basic auth, dan injeksi API key
  • Collections — simpan dan organisir request yang sering digunakan
  • History — secara otomatis mencatat request terakhir Anda
  • Test Scripts — tulis asersi pasca-response dalam JavaScript

JSON Viewer /json/

  • Tempel atau ketik JSON — tree view diperbarui secara real-time
  • Beralih antara tampilan Tree, YAML, dan CSV
  • Gunakan Search (Ctrl+F) untuk memfilter node di tree view
  • Klik path node mana saja untuk menyalinnya ke clipboard
  • Gunakan Fetch URL untuk memuat JSON langsung dari URL

Viewer Tools /javascript/ /html/ /css/ /xml/ /text/

Semua tool code viewer berbagi antarmuka yang konsisten:

  • Beautify — format kode dengan indentasi yang tepat (Ctrl+Shift+F)
  • Minify — kompres kode untuk mengurangi ukuran
  • Find — buka search bar di dalam editor
  • Import — muat file dari perangkat Anda
  • Export — simpan konten saat ini sebagai file
  • Copy — salin semua konten ke clipboard
  • Clear — reset editor (dengan konfirmasi)

Markdown ↔ HTML /markdown-html/

Konversi dua arah, dengan live preview di samping editor.

  • Preview — Markdown rasa GitHub dirender saat Anda mengetik
  • HTML — pindah tab untuk membaca, menyalin, atau menyimpan markup hasilnya
  • From HTML — tempel markup ke editor untuk mengubahnya kembali menjadi Markdown
  • Export document — unduh berkas HTML mandiri dengan tipografi, lebar container, font, serta daftar isi dan tombol tema opsional

3. Security & Identity Tools

Hash Generator /hash/

  • Ketik atau tempel teks — semua nilai hash diperbarui secara real-time
  • Algoritma: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
  • Gunakan tab Verify untuk memeriksa apakah string cocok dengan hash yang diketahui

Transcode /transcode/

  • Base64 — encode/decode Base64 standar
  • URL Encode — percent-encoding untuk query string
  • Hex — teks UTF-8 ke/dari heksadesimal
  • HTML Entities — escape/unescape karakter khusus HTML
  • JWT Decode — periksa header dan payload JWT

Encryptor /encryptor/

  • Masukkan teks dan passphrase, klik Encrypt
  • Output adalah ciphertext AES-256-GCM yang di-encode Base64
  • Untuk dekripsi, tempel ciphertext dan passphrase yang sama, klik Decrypt
  • Keyboard: Ctrl+Enter untuk enkripsi, Ctrl+Shift+Enter untuk dekripsi

Signer & Verifier /signer/

  • Masukkan pesan dan kunci rahasia, klik Sign untuk menghasilkan tanda tangan HMAC-SHA256
  • Untuk verifikasi, tempel pesan, kunci, dan tanda tangan — klik Verify

SSL Toolkit /ssl/

  • Decode Certificate — tempel sertifikat PEM untuk memeriksa detail
  • Generate CSR — isi form untuk menghasilkan CSR dan private key (RSA 2048-bit)
  • Key Matcher — verifikasi apakah sertifikat dan private key adalah pasangan yang cocok

4. Pintasan Keyboard

PintasanAksiTersedia di
Ctrl+Shift+FBeautify kodeCSS, HTML, JS, JSON viewer
Ctrl+FCari di editorSemua viewer, JSON tree
Ctrl+EnterEnkripsi / Sign / JalankanEncryptor, Signer, JS Viewer
Ctrl+Shift+EnterDekripsi / VerifyEncryptor, Signer
EscapeTutup modalSemua tool dengan modal

5. Privasi & Data

Semua yang Anda masukkan ke tool manapun tetap hanya di browser Anda. Tidak ada data yang pernah dikirim ke server manapun. Konten editor disimpan secara lokal menggunakan enkripsi AES-256-GCM.

6. Tips & Trik

  • Auto-save — konten editor disimpan otomatis saat Anda mengetik. Refresh halaman akan memulihkan sesi terakhir Anda.
  • Import & Export — gunakan tombol Import untuk memuat file teks apapun, dan Export untuk menyimpan pekerjaan sebagai file.
  • Penggunaan offline — setelah dimuat, tool bisa digunakan tanpa koneksi internet.
  • Beberapa tab — setiap tool adalah URL terpisah — buka beberapa di tab berbeda secara bersamaan.

7. Dukungan Browser

One Code memerlukan browser modern dengan dukungan untuk WebCrypto API, CSS Custom Properties, dan ES2020.

Direkomendasikan: Chrome 90+, Firefox 90+, Safari 15+, Edge 90+.

Internet Explorer tidak didukung.

8. Bantuan

One Code dibangun dan dikelola oleh PT Lancar Inovasi Digital. Jika ada tool yang bermasalah atau Anda ingin mengusulkan tool baru, kirim email ke contact@lancar.id. Untuk masalah keamanan, ikuti /.well-known/security.txt, bukan alamat umum tersebut.