Skip to content

Swedish Number to Words in JavaScript (sv-SE)

Use sv-SE when your application needs Swedish number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: sv-SE · Numbering system: Short scale · Currency: Krona / Öre · Script: Latin

Install

bash
npm install to-words

Basic Conversion

js
import { ToWords } from 'to-words';

const tw = new ToWords({ localeCode: 'sv-SE' });

tw.convert(100);
tw.convert(1000);
tw.convert(1000000);

Currency - Krona / Öre

js
tw.convert(1234.56, { currency: true });
tw.convert('500.00', { currency: true, includeZeroFractional: true });

Ordinal Numbers

js
tw.toOrdinal(1);
tw.toOrdinal(10);
tw.toOrdinal(100);

Locale Codes

Locale codeCountryCurrencyNotes
sv-SESwedenKrona / ÖreStandard Swedish number wording

FAQ

Q: Which locale code should I use for Swedish number-to-words output? Use sv-SE.

Q: Does to-words support Swedish ordinal words? Yes. sv-SE includes ordinal mappings so toOrdinal() works without any custom suffix logic.

Released under the MIT License.