Pasteon
面向 Mac 开发者的智能粘贴

复制 JSON、curl、变量等,直接粘贴成可用代码。

Pasteon 能识别开发者常复制的内容,帮助你把数据、请求和命名转换为下一个 App、脚本或 PR 需要的格式。

JSON to Swift Codable from clipboard
cURL to URLSession on Mac
cURL to fetch or Axios
Local developer clipboard tools
开发者工作流演示
Pasteon 能识别什么

操作列表会随着剪贴板内容变化。

复制 JSON、curl 命令或普通短语。Pasteon 会把菜单聚焦在对开发者最有用的转换上。

Pasteon 操作
已复制 JSON
{ "user_id": 42, "role": "admin" }
Paste as Swift Codable
Paste as TypeScript Interface
Paste curl as fetch
Paste as camelCase
准备粘贴
interface User {
  userId: number;
  role: string;
}

程序员

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

独立开发者

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

技术团队

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
已复制
{
  "id": 42,
  "name": "Pasteon",
  "is_active": true
}
已粘贴
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
已复制
curl -X POST https://api.example.com/items \
  -H "Content-Type: application/json" \
  -d '{"name":"Pasteon"}'
已粘贴
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
已复制
userDisplayName
已粘贴
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.

从剪贴板开始更快构建。

下载 Pasteon for Mac,把 JSON、curl 和复制的词语转换成可用代码形态。