Skip to content

Japan (JP)

Field Value
Drive side Left-hand
Language(s) Japanese
Regulator National Police Agency
Code format 101 / 201 / 301
Standard Road Traffic Law (道路交通法)

The @road-signs/jp package contains Japan road signs from the Road Traffic Law (道路交通法), Japan’s national road traffic legislation. Signs are sourced from Wikipedia / Wikimedia Commons. Signs are in the public domain.

Terminal window
npm install @road-signs/jp
Category Series Description
warning 2xx 警戒標識 — hazard warnings
prohibitory 1xx 規制標識 — regulatory signs
mandatory 3xx 指示標識 — instruction signs
information 4xx 案内標識 — guide signs
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/jp';
// Example below uses the real JP sign "E1" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("e1-expressway-number-tomei");
// By sign code
const s = getSignByCode("E1");
// All information signs
const filtered = getSignsByCategory("information");
Metric Value
Signs scraped 126
Signs with SVG 126
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 36 36 0 100%
priority 0 0 0 —
prohibitory 59 59 0 100%
mandatory 13 13 0 100%
information 18 18 0 100%

Standard: Road Traffic Law (道路交通法)

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { JPSign, JPCategory } from '@road-signs/jp';
type JPCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface JPSign {
id: string; // e.g. "201-dangerous-bend"
code: string; // e.g. "201"
name: string;
description: string;
category: JPCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}