Vextrude

点击或将字体文件拖放到此处

支持 TTF 和 OTF(最大 50MB)

转换设置

仅转换指定字符以限制输出文件大小。

反转绕组顺序

如果您的 3D 文字看起来里外翻转,请使用此选项。

3D Preview

WebGL

上传字体以查看预览

什么是 typeface.json?

It's a JSON-based font format used by Three.js `FontLoader`. Converting your TTF files allows them to be loaded asynchronously in web applications without needing complex parsing libraries at runtime.

Read the full tutorial

免费字体转 Typeface.json 转换器

即时将 TTF 和 OTF 字体转换为 Three.js 兼容的 JSON 格式。无需上传,100% 私密。

100% Private

您的字体文件完全在浏览器中使用 JavaScript 处理,从不上传到任何服务器。

即时转换

由 OpenType.js 驱动,转换在毫秒内完成。非常适合快速原型制作。

Three.js 兼容

生成与 Three.js `FontLoader` 和 `TextGeometry` 兼容的优化 `typeface.json` 文件。

如何为 Three.js 转换字体

  1. 选择字体: Drag and drop your `.ttf` or `.otf` file into the upload zone.
  2. 预览: The tool will instantly render a 3D preview of your font using WebGL.
  3. 设置: (Optional) Use "Restrict Characters" to reduce file size by including only necessary glyphs.
  4. 下载: Click "Convert & Download" to get your `.json` file.

为什么使用 Typeface.json?

Standard web fonts (WOFF/TTF) cannot be directly extruded into 3D geometry in Three.js. They must first be converted into a geometric description format called `typeface.json`.

This converter handles that process for you, creating a file that contains all the path data needed to generate 3D text meshes in your WebGL applications.