Pasteon
面向 Mac 開發者的智慧貼上

複製 JSON、curl、變數等,直接貼成可用程式碼。

Pasteon recognizes developer clipboard content and converts it locally, so API payloads and requests do not need to be pasted into a separate online formatter.

JSON to Swift Codable from clipboard
cURL to URLSession on Mac
cURL to fetch or Axios
Local developer clipboard tools
Developer workflow demo
Pasteon 能辨識什麼

操作清單會隨剪貼簿內容改變。

Copy JSON, a curl command, or a plain phrase. Pasteon keeps the menu focused on the conversions that are useful for developers.

Pasteon Actions
Copied JSON
{ "user_id": 42, "role": "admin" }
Paste as Swift Codable
Paste as TypeScript Interface
Paste curl as fetch
Paste as camelCase
Ready to paste
interface User {
  userId: number;
  role: string;
}

Programmers

Clean up copied snippets, convert data shapes, and paste code-ready text without leaving your editor.

Indie developers

Move faster across docs, API consoles, issue trackers, and app code with a clipboard built for repeated technical work.

Technical teams

Reduce small handoff friction when teammates share curl commands, JSON payloads, environment names, and links.

開發者轉換

從文件、API、終端與票單複製。直接貼進程式碼。

JSON

Convert copied JSON to Swift Codable and typed models

Copy an API response, config payload, or sample object and generate Swift Codable, TypeScript, Kotlin, Go, or Python without sending it to an online converter.

Swift CodableTypeScript InterfaceKotlinGoPython
copied
{
  "id": 42,
  "name": "Pasteon",
  "is_active": true
}
pasted
struct App: Codable {
  let id: Int
  let name: String
  let isActive: Bool
}
curl

Convert copied cURL to URLSession, fetch, or Axios

Copy a cURL command from documentation, logs, or a teammate and turn it into local starter code for the client stack you are using.

URLSessionfetchAxios
copied
curl -X POST https://api.example.com/items \
  -H "Content-Type: application/json" \
  -d '{"name":"Pasteon"}'
pasted
await fetch("https://api.example.com/items", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ name: "Pasteon" })
});
word

Convert words into variable naming formats

Normalize copied labels, field names, design tokens, and database columns into the naming style your codebase expects.

camelCasePascalCasesnake_casekebab-case
copied
userDisplayName
pasted
UserDisplayName
user.display.name
user_display_name
user-display-name
為什麼開發者使用 Pasteon

能理解技術內容的剪貼簿工具。

Search copied snippets, links, payloads, and file paths.
Keep JSON, curl, colors, files, and URLs previewable.
Paste with the naming format your project expects.
Sync useful clipboard context across nearby Macs.
Developer FAQ

Questions about local clipboard conversion on Mac

How do I convert copied JSON to Swift Codable on Mac?

Copy the JSON, open its actions in Pasteon, and choose Generate Data Model followed by Swift Codable. Pasteon generates the model locally and returns code ready to copy or paste.

Can Pasteon convert cURL to URLSession, fetch, and Axios?

Yes. Copy a supported HTTP or HTTPS cURL command, open Convert cURL Request, and choose URLSession, fetch, or Axios as the output.

Does Pasteon upload copied API data to an online converter?

No. Pasteon clipboard history and its bundled JSON and cURL conversions run locally on your Mac. Review any custom Workflow script before enabling it, especially if it performs network requests.

Which variable naming formats can Pasteon generate?

Pasteon can turn copied words into common naming styles such as camelCase, PascalCase, snake_case, and kebab-case.

從剪貼簿開始更快建構。

Download Pasteon for Mac and start turning JSON, curl, and copied words into usable code shapes.