+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/tools/gpt-token-encoder/index.ts b/src/tools/gpt-token-encoder/index.ts
new file mode 100644
index 00000000..fca09b87
--- /dev/null
+++ b/src/tools/gpt-token-encoder/index.ts
@@ -0,0 +1,13 @@
+import { FileText } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'GPT Token Encoder/Decoder',
+ path: '/gpt-token-encoder',
+ description: 'Encode text to GPT tokens and decode GPT tokens back to text',
+ keywords: ['gpt', 'llm', 'openai', 'token', 'encode', 'decode'],
+ component: () => import('./gpt-token-encoder.vue'),
+ icon: FileText,
+ createdAt: new Date('2025-08-15'),
+ category: 'Text',
+});
diff --git a/src/tools/gpt-token-estimator/gpt-token-estimator.vue b/src/tools/gpt-token-estimator/gpt-token-estimator.vue
index 794ef7b4..8e349809 100644
--- a/src/tools/gpt-token-estimator/gpt-token-estimator.vue
+++ b/src/tools/gpt-token-estimator/gpt-token-estimator.vue
@@ -3,7 +3,6 @@ import { useI18n } from 'vue-i18n';
import JSON5 from 'json5';
import type { TiktokenModel } from 'js-tiktoken';
import { GPTTokens } from './gpt-tokens.service';
-import TextareaCopyable from '@/components/TextareaCopyable.vue';
import { useValidation } from '@/composable/validation';
import { useQueryParamOrStorage } from '@/composable/queryParams';
@@ -162,6 +161,12 @@ const outputTokenCosts = computed(() => {